ORIGAM_PARALLAX_KEY
const
Provide / Inject
Vue injection key (InjectionKey<IParallaxProvide>) used by OrigamParallax to broadcast scroll-position context to child OrigamParallaxLayer and OrigamParallaxElement components.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Resolved value
Ecosystem
Used by
Composables and components that consume this constant.
OrigamParallax
OrigamParallaxElement
Usage
Examples
Ready-to-paste code snippets using this constant.
Injecting the parallax context in a custom layer