FocusList: Directive = ...

The FocusList Directive

To use; add v-focus-list to your main element and v-focus-item to sub-items you want to be selectable The directive will assume your list is vertical. To force it to be horizontal set the attribute to have a value of 'horizontal'.

Example:

<div v-focus-list="'horizontal'">
<button v-focus-item></button>
<button v-focus-item></button>
<button v-focus-item></button>
</div>