CustomCover interface
Your own cover: an effect with a `position` param (0 page shown, 1 covered, 2 shown again), and optionally `x` and `y`, the origin in viewport fractions.
import type { CustomCover } from '@dioramajs/diorama/transitions'. It runs on <html>.
interface CustomCoverMembers
| Name | Type | Description |
|---|---|---|
readonly name | Effect | |
readonly params? | Readonly<Record<string, unknown>> | Params for the effect. |
Also exported from @dioramajs/transitions/cover.
Defined in packages/transitions/src/cover/types.ts.