ORIGAM_PARALLAX_LAYER_KEY

const
Provide / Inject

Vue injection key (InjectionKey<IParallaxLayerProvide>) used by OrigamParallaxLayer to expose layer-specific context (depth, bounds) to nested elements.

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.

  • OrigamParallaxLayer

  • OrigamParallax

Usage

Examples

Ready-to-paste code snippets using this constant.

Injecting the parallax-layer context in a custom child

typescript