1.0.12 • Published 7 years ago
jquery.listnav v1.0.12
jQuery.listNav
Navigation on the list. Keys Enter, Up, Down.
###Install
npm install jquery.listnav -S
####How use it
<div class="jListNav">
<input type="search" class="jListNav_field">
<ul class="jListNav_list"></div>
</div>
Public methods
listNav.setWhirls(true) // allow/deny whirls on list
listNav.getWhirls() // return status whirls
Events
listNav.enter // if press on Enter
listNav.click
listNav.change // update value of field
listNav.first // If you go to the first element to the last.
listNav.last // revers
listNav.up // go to up
listNav.down // go to down
Body event
event.parent // .listNav element
event.active // active item list