angular-checkgroup
Custom radio button & checkbox directive extensions for Angular.js
Live demo: http://jennieji.github.io/angular-checkgroup/
Demo source: https://github.com/JennieJi/angular-checkgroup/tree/gh-pages/src
##Start-up
Get the latest package by bower:
bower install angular-checkgroup
Add reference to your APP like this:
angular.module('app', ['checkgroup']);
##Directives
###checkgroup
- checkgroup [Array]
- REQUIRED. Similar to ngModel.
- checkMultiple [Boolean]
- OPTIONAL. Multiple selection enabled or not. DEFAULT: false.
- value [Expression]
- REQUIRED.
- checked [Boolean]
- OPTIONAL. Similar to HTML 'checked' attribute. DEFAULT: false.
- check-type [String]
- OPTIONAL. Except normal check, there is 'all' and 'none' checks. Please refer to the demo to get more details. DEFAULT: undefined.
- check-disabled [String]
- OPTIONAL. The value should be a variable that can get from $scope. DEFAULT: undefined.