Creates an instance of FocusListManager
The focus list's element
The value of the v-focus-list
attribute which tells the focus list manager the orientation of the list. 'horizontal' means the list should be traversed horizontally, and other value will make the list vertical (including no value).
Sets tabindex
to value
for every tabbable thing under focusItem
(or the list if not specified)
the value to give tabindex
on each tabbable item
the element containing the tabbable items, defaults to the focus list
The FocusListManager class
Each instance of this class is tied to an element. These are created in the bind function for the
FocusList
directive. This class manages the focus within the element, mainly moving betweenfocus-item
s with arrow keys.