UNPKG

gsap

Version:

GSAP is a framework-agnostic JavaScript animation library that turns developers into animation superheroes. Build high-performance animations that work in **every** major browser. Animate CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths,

33 lines (30 loc) 1.5 kB
import gsap from "./gsap-core.js"; import CSSPlugin from "./CSSPlugin.js"; const gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap, // to protect from tree shaking TweenMaxWithCSS = gsapWithCSS.core.Tween; export { gsapWithCSS as gsap, gsapWithCSS as default, TweenMaxWithCSS as TweenMax, CSSPlugin }; export { TweenLite, TimelineMax, TimelineLite, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ, wrap, wrapYoyo, distribute, random, snap, normalize, getUnit, clamp, splitColor, toArray, mapRange, pipe, unitize, interpolate, shuffle, selector } from "./gsap-core.js"; export * from "./CustomEase.js"; export * from "./Draggable.js"; export * from "./CSSRulePlugin.js"; export * from "./EaselPlugin.js"; export * from "./EasePack.js"; export * from "./Flip.js"; export * from "./MotionPathPlugin.js"; export * from "./Observer.js"; export * from "./PixiPlugin.js"; export * from "./ScrollToPlugin.js"; export * from "./ScrollTrigger.js"; export * from "./TextPlugin.js"; export * from "./DrawSVGPlugin.js"; export * from "./Physics2DPlugin.js"; export * from "./PhysicsPropsPlugin.js"; export * from "./ScrambleTextPlugin.js"; export * from "./CustomBounce.js"; export * from "./CustomWiggle.js"; export * from "./GSDevTools.js"; export * from "./InertiaPlugin.js"; export * from "./MorphSVGPlugin.js"; export * from "./MotionPathHelper.js"; export * from "./ScrollSmoother.js"; export * from "./SplitText.js";