2.0.7 • Published 7 years ago
cp-multi-selector v2.0.7
cp-multi-selector
A widget for canopy in selecting multiple entities from a selection drop-down.
Requirements
- Angular 1.3
- Lodash
jQuery
Installation
- Install through npm
npm install --save cp-multi-selector
- Make sure your app depends upon 'cp-multi-selector':
angular.module('app', ['cp-multi-selector']);
Usage
Markup:
<cp-multi-selector
source="source"
selected-items="selectedItems"
placeholder="Type a collaborators name...">
</cp-multi-selector>
Scope:
$scope.source = [{
"last_name": "William",
"first_name": "Seward"
}, {
"last_name": "Montgomery",
"first_name": "Blair"
}, {
"last_name": "Meriwether",
"first_name": "Lewis"
}];
$scope.selectedItems = [];
Optionally pass a string "template" to the directive which will be used for a custom list element in the drop down window. The default template
Optionally pass a string "search-field" to the directive which will be used to search the given property.
Demo
2.0.7
7 years ago
2.0.6
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago
2.0.0
8 years ago
1.3.13
8 years ago
1.3.12
8 years ago
1.3.11
8 years ago
1.3.10
8 years ago
1.3.9
8 years ago
1.3.8
8 years ago
1.3.7
8 years ago
1.3.6
8 years ago
1.3.5
8 years ago
1.3.4
8 years ago
1.3.3
9 years ago
1.3.2
9 years ago
1.3.1
9 years ago
1.3.0
9 years ago
1.1.3
9 years ago