ORIGAM_DISPLAY_KEY

const
Injection Keys

Vue provide/inject symbol that carries the reactive IDisplayInstance (breakpoint flags, mobile/tablet booleans, thresholds, orientation) provided by the display system and consumed by useDisplay().

TypeScript

Definition

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

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamLayout

Usage

Examples

Ready-to-paste code snippets using this constant.

Reading the current breakpoint via useDisplay

typescript