
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ember-gsap
Advanced tools
GSAP - Greensock Animation Platform as ES6 Modules for Ember.js applications.
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:
import { TimelineMax, TweenMax, easing } from 'gsap';
const { Power2, Back, Elastic } = easing;
Easing functions can also be directly imported like so:
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.
// config/environment.js
ENV['ember-gsap'] = {
core: [
'TweenLite',
'TimelineLite'
]
}
Popular Greensock Plugin libraries can be enabled like so:
// 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.
FAQs
GSAP - Greensock Animation Platform as ES6 Modules for Ember.js applications.
The npm package ember-gsap receives a total of 16 weekly downloads. As such, ember-gsap popularity was classified as not popular.
We found that ember-gsap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.