ReleaseRequest interface
Payload of `effects:release`: a drawn copy's element left the document and nobody took it.
import type { ReleaseRequest } from '@dioramajs/diorama/effects'interface ReleaseRequestMembers
| Name | Type | Description |
|---|---|---|
readonly drawn | DrawnBox | Where and how the copy was last drawn. |
readonly element | Element | The element that left. |
readonly visible | boolean | The copy was in the viewport (with the effects' bleed) in its last frame. |
take | | Keeps the copy as a ghost. Undefined if an earlier handler took it. |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.