Closed ivodolenc closed 1 year ago
Adds custom club composables.
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { drawSvg: true } } }
Usage
useDrawSVGPlugin
// Explicit import (optional) import { useDrawSVGPlugin } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { scrollSmoother: true } } }
useScrollSmoother
// Explicit import (optional) import { useScrollSmoother } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { gsDevTools: true } } }
useGSDevTools
// Explicit import (optional) import { useGSDevTools } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { inertia: true } } }
useInertiaPlugin
// Explicit import (optional) import { useInertiaPlugin } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { morphSvg: true } } }
useMorphSVGPlugin
// Explicit import (optional) import { useMorphSVGPlugin } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { motionPathHelper: true } } }
useMotionPathHelper
// Explicit import (optional) import { useMotionPathHelper } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { physics2d: true } } }
usePhysics2DPlugin
// Explicit import (optional) import { usePhysics2DPlugin } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { physicsProps: true } } }
usePhysicsPropsPlugin
// Explicit import (optional) import { usePhysicsPropsPlugin } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { scrambleText: true } } }
useScrambleText
// Explicit import (optional) import { useScrambleText } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { splitText: true } } }
useSplitText
// Explicit import (optional) import { useSplitText } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { customBounce: true } } }
useCustomBounce
// Explicit import (optional) import { useCustomBounce } from '#gsap'
// nuxt.config.ts { gsap: { composables: true, clubPlugins: { customWiggle: true } } }
useCustomWiggle
// Explicit import (optional) import { useCustomWiggle } from '#gsap'
Type of Change
Request Description
Adds custom club composables.
useDrawSVGPlugin
Usage
useScrollSmoother
Usage
useGSDevTools
Usage
useInertiaPlugin
Usage
useMorphSVGPlugin
Usage
useMotionPathHelper
Usage
usePhysics2DPlugin
Usage
usePhysicsPropsPlugin
Usage
useScrambleText
Usage
useSplitText
Usage
useCustomBounce
Usage
useCustomWiggle
Usage