IDialogEmits

interface
Overlay

Emits contract for OrigamDialog — extends the standard component emits and outside-click bubbling, and adds the isRead lifecycle hook that fires the first time the dialog body becomes fully visible (consent / ToS pattern).

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Tracking when a ToS dialog is read

html