EntryPatch interface
A known effect changed without its code: `{ ripple: { when: 'all' } }`.
import type { EntryPatch } from '@dioramajs/diorama'Both fields beat the definition's, and the light part reads them before the module loads.
interface EntryPatchMembers
| Name | Type | Description |
|---|---|---|
readonly load? | undefined | A patch keeps the effect's loader; an object with |
readonly override? | boolean | Marks the entry that replaces a built-in as intended, e.g. a shader from the effects folder. |
readonly reducedMotion? | 'static' | 'off' | 'off' turns the effect off under reduced motion, 'static' draws it without motion. |
readonly when? | When | A media query, 'hover' for '(hover: hover)', or 'all' to run on touch devices too. |
Also exported from @dioramajs/diorama/auto.
Defined in packages/diorama/src/index.ts.