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
Définition
La définition TypeScript telle qu'elle apparaît dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
Valeur résolue
Écosystème
Utilisé par
Composables et composants qui consomment cette constante.
OrigamParallax
OrigamParallaxElement
Usage
Exemples
Extraits de code prêts à coller utilisant cette constante.
Injecting the parallax context in a custom layer