EffectGroupEntry interface
An entry whose metadata comes with its package's map, loaded on first need.
import type { EffectGroupEntry } from '@dioramajs/diorama/effects'Its own fields lie over the map's entry, like a site's patch.
interface EffectGroupEntry extends Omit<EffectEntry, 'load'>Members
| Name | Type | Description |
|---|---|---|
readonly group | EffectGroup | |
readonly intro? | boolean | (element: Element) => boolean | The effect plays an intro: an element in view when its instance is created is hidden ( |
readonly override? | boolean | The entry replaces a built-in effect of |
readonly params? | ParamSpec | Param defaults known before load, so these keys are readable and tweenable right away. |
readonly presence? | 'fade' | 'custom' | Overrides the definition's |
readonly reducedMotion? | 'static' | 'off' | Overrides the definition's |
readonly when? | When | Overrides the definition's |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.