Skip to content

carolineBda/angular-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-toggle

Directive to use Bootstrap switch by Matt Lartentis in angularJS. Allows you to add a toggle switch styled checkbox to your pages with one directive.

##Usage

Note that state object and callback function must be in your scope

<toggle ng-model="state" action="callback()" disabled="disabled"></toggle>

##Installation Add to your project angular-toggle source and bootstrap-switch sources (bootstrap-switch.min.js and bootstrap-switch.css).

Include the angular-toggle directives dependency on your angular module

angular.module("myapp", ["angularToggleDirectives"]);

About

Toggle switch directive to use Bootstrap switch in angularJS

Resources

Stars

Watchers

Forks

Packages

No packages published