ember-velocity-mixin
The Velocity Mixin makes it easier to use Velocity.js in your components.
Usage
ember install ember-velocity-mixin
Setting inline styles
;; const Component observer on } = Ember; ;
Animation with Promises
;; const Component } = Ember; ;
API
css([element], property, [value])
css
method can be used to get computed value of a specific element or set the CSS value for that element. It works
similar to jQuery's css function but it's scoped to View's element and provides benefits of Velocity's optimizations.
animate([element], options)
animate
method allows you to execute Velocity animation on current view or a given element. It accepts the same arguments as jQuery animation function.
This method returns a promise. Learn more about Promises with Velocity.