LenisApi interface
The `lenis` service.
import type { LenisApi } from '@dioramajs/diorama/lenis'interface LenisApiMembers
| Name | Type | Description |
|---|---|---|
readonly lenis | LenisLike | undefined | The Lenis in use. Undefined before |
readonly mode | 'diorama' | 'external' | 'diorama' when the pump advances Lenis, 'external' with |
use | | Switches to |
Also exported from @dioramajs/lenis.
Defined in packages/lenis/src/types.ts.