Meteor animation for added items

在流星中处理动画/转换的最佳方式是什么,例如,在出现新项目时出现淡入淡出而不是出现


As David Weldon mentioned, Meteor is going to be adding some support for UI hooks in 0.8.2 and they will probably make it out into supported APIs by 1.0.

The original thread is here: https://groups.google.com/forum/#!topic/meteor-core/1kUoG2mcaRw

Here are a few examples, including one I'm particularly happy with:

  • https://github.com/mizzao/meteor-animated-each, demo at http://animated-each.meteor.com/
  • https://github.com/percolatestudio/transition-helper
  • The first example causes items in a long scrollable container to fade in/out when added/deleted, and adjusts the scroll position so that other people who are scrolled to a different position in the container don't see a jump in their view.

    链接地址: http://www.djcxy.com/p/84234.html

    上一篇: 我如何确保这个CSS过渡动画

    下一篇: 用于添加项目的流星动画