The transition map is where you configure which transitions to run
in which situations. In an ember-cli app, it is loaded automatically
from app/transitions.js
.
LiquidFire.map
. There is an example here.When one of the liquid helpers detects an update that might need to animate, it consults the transition map. The most-specific matching rule that it finds will be applied.
use
statement. The animation named
by use
will only run if all the constraints match.Takes name/value pairs and sets them on $.Velocity.defaults. This lets you provide global defaults for things like the easing function and animation duration.
The next sections cover the kinds of constraints that can go inside a transition rule.