TIMELINE_CONTEXT_KEY

const
Injection Keys

Vue InjectionKey used to provide and inject the ITimelineContext between OrigamTimeline and its OrigamTimelineItem children.

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.

  • OrigamTimeline

  • OrigamTimelineItem

Usage

Examples

Ready-to-paste code snippets using this constant.

Inject the timeline context in a custom child

typescript