PARALLAX_DIRECTION
enum
Animation & Motion
TypeScript enum for Parallax scroll/motion direction — vertical, horizontal, or both axes.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- PARALLAX_DIRECTION.VERTICAL
- Effect applies along the vertical (Y) axis only.
- PARALLAX_DIRECTION.HORIZONTAL
- Effect applies along the horizontal (X) axis only.
- PARALLAX_DIRECTION.BOTH
- Effect applies along both X and Y axes simultaneously.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup