-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Rickard Nilsson edited this page Jun 15, 2015
·
6 revisions
For examples and usage see http://rickardn.github.io/listgroup.js/
Enable list group via JavaScript:
$('#example').listgroup(options)
Options can be passed via data attributes or JavaScript.
Name | Type | Default | Description |
---|---|---|---|
click | function | '' | If a function is given, it will be called with its this reference set to the list group item element that was clicked. |
select | string | string[] | selector | '' | If a string or an array of strings is provided, the item(s) with its value set to any of the strings is selected. If a selector is provided, the items specified are selected. |
unselect |