ORIGAM_DEFAULTS_KEY

const
Injection Keys

Vue provide/inject symbol that shares the reactive defaults map (Ref<IDefault>) from OrigamDefaultsProvider to every component that calls useDefaults(). Used as a global symbol so multiple bundles of origam installed in the same page interoperate over one shared provider.

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.

Providing component-level defaults at the app level

typescript