Web Component: j-KeySelection
j-KeySelection
This component allows user to select some items by up/down keys and confirm selection by the enter
key.
- jComponent
v19|v20
- supports auto-scroll
Configuration
selectoritem
{String}
a selector for browsing items (default:.item
)selector
{String}
a default selector for capturing keys (default:input
)class
{String}
a selection class (default:selected
)autoselect
{Boolean}
it should select first item (default:true
)autoscroll
{Boolean}
enables/disables auto-scroll (default:true
)exec
{String}
a link to thefunction(jqueryel)
, evaluated by theenter
key (optional, otherwise will be triggerclick
event)delay
{Number}
a delay for auto-selecting first valuedatasource
{String}
a link to the data-source that can help you with a dynamic list
Author
- Peter Širka petersirka@gmail.com
- License
Created
31. january 2022
Updated
31. january 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com