Navigator class
Class responsible for determining where focus should move in response to keyboard navigation commands.
Signature:
export declare class Navigator
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
rules | protected |
RuleList<any> | Map from classes to a corresponding ruleset to handle navigation from instances of that class. |
Methods
Method | Modifiers | Description |
---|---|---|
addNavigationPolicy(policy) | Adds a navigation ruleset to this Navigator. | |
getFirstChild(current) | Returns the first child of the given object instance, if any. | |
getNextSibling(current) | Returns the next sibling of the given object instance, if any. | |
getParent(current) | Returns the parent of the given object instance, if any. | |
getPreviousSibling(current) | Returns the previous sibling of the given object instance, if any. |