The parent of all navigable elements. If this element also has nav()
applied to it, it
will be ignored.
Readonly
rootThe parent of all navigable elements. If this element also has nav()
applied to it, it
will be ignored.
Builds a nav tree from the rootElement
.
Enter into the currently focused node's children. Focuses the first child. Fails if there are no children to focus.
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.
Gets the currently focused node (is any) from within the rootElement
's nav tree.
Navigate around the nav tree.
Navigate to siblings of the parent of the currently focused element, if they exist.
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