| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Toggle Switches for AngularJS. Based off Bootstrap switch by Matt Lartentis.
cgarvis.github.io/angular-toggle-switch
Download angular-toggle-switch.min.js or install with bower.
$ bower install angular-toggle-switch --saveLoad angular-toggle-switch.min.js then add the toggle-switch module to your Angular App.
angular.module('app', ['toggle-switch']);<toggle-switch model="switchStatus"></toggle-switch>or
<div toggle-switch model="switchStatus"></div><toggle-switch model="switchStatus" on-label="True" off-label="False"></toggle-switch>Testing is done using Karma Test Runner.
$ grunt karma:unit$ grunt release| Back | FazBrowse Home | New Git URL |