TRL provides all the GSAP plugins available and makes it easy to install them via simply using a side effect import.
The plugin will be automatically loaded and enabled in GSAP without any additional hook up concerns.
The following plugins are available from this sub-path export:
CSSRulePlugin
CustomEase
Draggable (though do use the TRL draggable / draggableGsap support!)
EaselPlugin
EasePack
Flip
MotionPathPlugin
Observer
PixiPlugin
ScrollToPlugin
ScrollTrigger
TextPlugin
Example
// To load a plugin simply import the plugin and it will be available from `gsap` and `GsapCompose`. import'#runtime/svelte/gsap/plugin/CustomEase'; import'#runtime/svelte/gsap/plugin/MotionPathPlugin';
Documentation: https://greensock.com/docs/v3/Plugins
TRL provides all the GSAP plugins available and makes it easy to install them via simply using a side effect import. The plugin will be automatically loaded and enabled in GSAP without any additional hook up concerns.
The following plugins are available from this sub-path export:
draggable
/draggableGsap
support!)Example