Plugin which can navigate in list of items
plugins /
<= Nav $mol_nav
keys_y <= component_list /
current_y? <=> selected_component? 0
keys_y( keys? : $mol_view[] ) : $mol_view[]
Property keys_y
is an array of items in which need navigate.
By default navigation fires on up
or down
key press.
keys_x( keys? : $mol_view[] ) : $mol_view[]
Property keys_x
is an array of items in which need navigate.
By default navigation fires on left
or right
key press.
current_y( item? : any ) : any
Property current_y
is an current item in keys_y
.
current_x( item? : any ) : any
Property current_x
is an current item in keys_x
.
cycle( value? : boolean ) : boolean
Property cycle
activate or disable cycle navigation.
If true, then check if the same key is pressed.
mod_ctrl() : boolean
mod_shift() : boolean
mod_alt() : boolean