Protected
cachedIf true, all nav is prevented.
Protected
navIf true
, the nav tree will rebuild on next operation.
Readonly
optionsReadonly
rootActivate the currently focused nav entry.
Builds the latest tree, sets it internally, and returns it.
Enter into the currently focused node's children. Focuses the first child. Fails if there are no children to focus.
Enter into the currently focused node's children. Focuses the first child. Fails if there are no children to focus.
Optional
params: { fallbackToActivate?: false }Shift focus from the currently focused node to its parent. If there is no parent, or rather if the parent is the tree root, this fails.
Focus the default element for the whole tree.
Protected
getGets or builds the current nav tree.
Navigate around the nav tree.
Navigate to siblings of the parent of the currently focused element, if they exist.
Sets the current nav entry with the given action.
Sets the current nav entry with the given action.
Allows navigation around the nav tree contained within the given
rootElement
. If there is no nav tree, all operations simply do nothing. For a full example, see vir-test-app.element.ts.Example