GSAP - Greensock Animation Platform as ES6 Modules for Ember.js applications.
npm install ember-gsap
Ember GSAP   !Download count all time 
======
Ember GSAP allows consumption of GSAP - Greensock Animation Platform as ES6 Module imports in Ember applications.
ember install ember-gsap
Check out this Ember Twiddle demo to show Ember GSAP in action.
Ember GSAP by default includes TweenMax, TweenLite, TimelineLite, TimelineMax, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin, and all of the easing functions Power1, Power2, Power3, Power4, Back, Bounce, Circ, Cubic, Elastic, Expo, Linear, Sine, RoughEase, SlowMo and SteppedEase.
Recommended import style is as follows:
``javascript
import { TimelineMax, TweenMax, easing } from 'gsap';
const { Power2, Back, Elastic } = easing;
`
Easing functions can also be directly imported like so:
`javascript`
import { Power2, Back, Elastic } from 'gsap/easing';
To prevent Ember GSAP from importing TweenMax, which automatically includes all the utilities listed above, you can cherry pick the core libraries and plugins you wish to include.
`js`
// config/environment.js
ENV['ember-gsap'] = {
core: [
'TweenLite',
'TimelineLite'
]
}
Popular Greensock Plugin libraries can be enabled like so:
`js`
// config/environment.js
ENV['ember-gsap'] = {
plugins: [
'draggable',
'scrollTo'
]
}
| Plugin | Key | Included in TweenMax? | Import |
|-|-|-|-|
| Attr | attr | ✓ | |bezier
| Bezier | | ✓ | |colorProps
| ColorProps | | | |css
| CSS | | ✓ | |cssRule
| CSSRule | | | |directionalRotation
| DirectionalRotation | | ✓ | |draggable
| Draggable | | | `import { Draggable } from 'gsap';` |easel
| Easel | | | |modifiers
| Modifiers | | | |raphael
| Raphael | | | |roundProps
| RoundProps | | ✓ | |scrollTo
| ScrollTo | | | |text` | | |
| Text |
Ember GSAP >=0.3.0 is fully compatible with all versions of Ember CLI Fastboot.