@dioramajs/diorama/gsap
Exports of @dioramajs/diorama/gsap.
On this page
import { gsapDriver, gsapPlugin } from '@dioramajs/diorama/gsap'Functions
gsapDriver | Frames from gsap.ticker, after the tweens of the same tick. One driver per gsap object. |
Constants
gsapPlugin | gsap and ScrollTrigger in Diorama's frame. One ticker, live scroll, pins from triggers. |
Interfaces
GsapApi | The `gsap` service. |
GsapLike | The part of `gsap` the adapter uses. |
GsapPluginOptions | Options of `gsapPlugin`. |
GsapTickerLike | The part of `gsap.ticker` the adapter uses. |
PinOptions | Options of `gsap.pin`. |
ScrollTriggerLike | The part of a ScrollTrigger instance the adapter reads. |
ScrollTriggerStatic | The part of the ScrollTrigger class the adapter uses. |
Types
GsapTickerCallback | A `gsap.ticker` listener. |
PinProgress | Which progress a pin reads: `auto`, the trigger's scroll, or its animation. |