GsapPluginOptions interface
Options of `gsapPlugin`.
import type { GsapPluginOptions } from '@dioramajs/diorama/gsap'interface GsapPluginOptionsMembers
| Name | Type | Description |
|---|---|---|
readonly gsap | GsapLike | The site's gsap. |
readonly liveScroll | boolean | Read window scroll in the frame, not from events (ScrollToPlugin, snap). Default true. |
readonly pins | boolean | Effects inside a pinned ScrollTrigger get its progress as |
readonly scrollTrigger | ScrollTriggerStatic | undefined | Pass it explicitly, since a minified build renames the class. By default it is looked up in |
readonly ticker | boolean | 'auto' | Frames from gsap.ticker. 'auto' (default) uses it unless the app runs on a deterministic driver with |
Also exported from @dioramajs/gsap.
Defined in packages/gsap/src/types.ts.