Plugins concepts.
Specific GSAP plugin APIs: matchMedia, quickTo, and friends.
- DraggableDraggable is a GSAP plugin that makes any element draggable, spinnable, or throwable with mouse and touch input.
- FlipFlip is a GSAP plugin that animates a layout change by recording an element's position and size, letting the DOM change, then tweening from the old state to the new one with transforms.
- gsap.matchMedia()gsap.matchMedia() is the GSAP API for running different animation code at different breakpoints, and for cleanly disposing of breakpoint-specific animations when the media query stops matching.
- gsap.quickTo()gsap.quickTo() is GSAP's high-frequency-event optimizer.
- InertiaPluginInertiaPlugin is a GSAP plugin that reads the velocity of a property and, when you let go, glides it to a natural stop based on how fast it was moving.
- MotionPathPluginMotionPathPlugin is a GSAP plugin that animates an element along an SVG path or a set of x/y points.
- ObserverObserver is a GSAP plugin that normalizes wheel, touch, and pointer input into one set of direction and velocity callbacks, so you can react to a gesture without binding it to scroll position the way ScrollTrigger does.