LenisPluginOptions interface
Options of `lenisPlugin`.
import type { LenisPluginOptions } from '@dioramajs/diorama/lenis'interface LenisPluginOptionsMembers
| Name | Type | Description |
|---|---|---|
readonly handoff | boolean | Keep driving Lenis after the last app using it goes away (StrictMode, HMR). Default true. |
readonly lenis? | LenisLike | The site's Lenis. One created later (ReactLenis, a page transition) comes in through |
readonly takeover | boolean | With true (default) only the pump advances Lenis. The site's own |
Also exported from @dioramajs/lenis.
Defined in packages/lenis/src/types.ts.