Presence interface
An unpaired copy that leaves or a new copy that enters.
import type { Presence } from '@dioramajs/diorama/transitions'interface PresenceMembers
| Name | Type | Description |
|---|---|---|
readonly element | Element | The element of the copy. |
presence | number | u.presence of the copy, or its opacity under reduced motion. 0 is absent, 1 present. |
Also exported from @dioramajs/transitions.
Defined in packages/transitions/src/types.ts.