DIRECTION
enum
Layout & Sizing
Two-axis direction enum used by scrollable or swipeable components to constrain movement to horizontal or vertical.
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.
- DIRECTION.HORIZONTAL
- Movement or layout flows along the X axis.
- DIRECTION.VERTICAL
- Movement or layout flows along the Y axis.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Vertical tabs