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.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

closeDelay
number | string
Time in milliseconds to wait before closing the component after the trigger condition is no longer met.
openDelay
number | 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

html