FOCUS_LOCATION
enum
Interaction
Enum describing focus navigation directions within a component (next, prev, first, last).
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.
- FOCUS_LOCATION.NEXT
- Move focus to the next focusable item.
- FOCUS_LOCATION.PREV
- Move focus to the previous focusable item.
- FOCUS_LOCATION.FIRST
- Move focus to the first focusable item.
- FOCUS_LOCATION.LAST
- Move focus to the last focusable item.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using FOCUS_LOCATION in script setup