bower install angular-dual-multi-select --save
- infinite levels
- check all/uncheck all
- angular 1.3+
- angular-tree-view https://github.com/hxlniada/angular-tree-view
- app
angular.module('yourModule', ['DualMultiSelect']);
- in html
<dualmultiselect
options="options"
input-model=“inputModel”
recursion-check="Boolean"
output-all-info="Boolean"
output-duplicate="Boolean"
ng-model="value"></dualmultiselect>
- ng-model required
just normal ng-model
- recursion-check optional [false]
whether check all/uncheck all
- input-model required
source array
- output-all-info optional [false]
whether output the valueProperty or output the full object
- output-duplicate optional [false]
if all of the child node is checked, whether just output the parent node
- options
listed below
- valueProperty optional [id]
the value property of your data
- displayProperty optional [text]
the property to display
- labelAll: optional [已选择的内容]
- labelSelected: optional [待选择内容]
- buttonCheckAll: optional [全选]
- buttonDeselectAll: optional [全不选]
- childrenProperty: optional [children]