ORIGAM_DATE_OPTIONS_KEY

const
Injection Keys

Vue provide/inject symbol that carries the IDateOptions configuration object (locale, firstDayOfWeek, adapter factory…) provided by OrigamDateProvider and read by the date composable to bootstrap the adapter.

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.

Usage

Examples

Ready-to-paste code snippets using this constant.

Reading date options inside a custom date component

typescript