ORIGAM_DATE_ADAPTER_KEY

const
Injection Keys

Vue provide/inject symbol that carries the active IDateInstance adapter (date parsing, formatting, arithmetic). Provided by OrigamDateProvider and consumed by all date-picker and date-field components.

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.

  • OrigamDatePicker

  • OrigamDateField

Usage

Examples

Ready-to-paste code snippets using this constant.

Injecting the date adapter in a custom component

typescript