Web Component: j-Selection
j-Selection
The component supports something like checkbox list.
- jComponent
v19|v20
Configuration:
remember
{Boolean}
remembers selection when thedatasource
is changed (default:true
)datasource
{String}
a path to the datasource (default: empty)key
{String}
anidentifier
key name for the datasource (default:id
)attr
{String}
adata-[attr]
for storing ofidentifier
(default:id
)selector
{String}
a jQuery selector for elements (default:.selection
)class
{String}
selected class (default:selected
)dblclickselectall
{Boolean}
enables reverse selection after double-click (default:true
)cancel
{String}
a path to the variable (if the variable is changed then the selection is resetted, default: empty)- NEW:
click
{String}
a selector for capturing of click (default:.selection
)
Methods:
component.selectall()
selects all itemscomponent.selectnone()
selects nonecomponent.selecttoggle()
reverses selection
Author
- Peter Širka petersirka@gmail.com
- License
Created
03. august 2021
Updated
18. october 2024
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com