angular-checkgroup

0.1.3 • Public • Published

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.
###check
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.

Readme

Keywords

Package Sidebar

Install

npm i angular-checkgroup

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • brunoweb