IDelayProps
interface
Behavior
Open/close delay contract for hover-activated components (Tooltip, Menu, …). Values are in milliseconds; strings are coerced to numbers.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- closeDelaynumber | string
- Time in milliseconds to wait before closing the component after the trigger condition is no longer met.
- openDelaynumber | string
- Time in milliseconds to wait before opening the component once the trigger condition is met.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Using delay props on a Tooltip