Skip to content

Commit

Permalink
v1.16.0 - add callback for onChange
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Tsai committed Dec 20, 2015
1 parent dc2fefe commit f5676bf
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 24 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Option name | Default | Description
`collapsible` | true | Adds collapsibility to sections
`freeze` | false | Disables selection/deselection of options; aka display-only
`hideSidePanel` | false | Hide the right panel showing all the selected items
`onChange` | null | Callback for when select is changed. Called with (allSelectedItems, addedItems, removedItems), each of which is an array of objects with the properties `text`, `value`, `initialIndex`, and `sectionName`
`onlyBatchSelection` | false | Only sections can be checked, not individual items
`sortable` | false | Selected options can be sorted by dragging (requires jQuery UI)
`sectionDelimiter` | `/` | Separator between sections in the select option `data-section` attribute
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.tree-multiselect.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/jquery.tree-multiselect.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery.tree-multiselect.js",
"version": "1.15.3",
"version": "1.16.0",
"description": "jQuery multiple select with nested options",
"main": "jquery.tree-multiselect.min.js",
"scripts": {
Expand Down
Loading

0 comments on commit f5676bf

Please sign in to comment.