AttachOptions interface
Options of `attach`.
import type { AttachOptions } from '@dioramajs/diorama/effects'interface AttachOptionsMembers
| Name | Type | Description |
|---|---|---|
readonly eager? | boolean | Load now instead of when near the viewport. |
readonly signal? | AbortSignal | Aborting it detaches the handle. |
readonly track? | 'frame' | 'layout' | By default the box is read live in every drawn frame and the motion watcher runs. 'frame' keeps the watcher awake while visible (long JS tweens). 'layout' uses a cached box, for static grids. |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.