sgarbesi / angular-toggle-switch

AngularJS Toggle Switch

Home Page:http://jumplink.github.io/angular-toggle-switch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularJS Bootstrap 2/3 Toggle Switch Build Status

Toggle Switches for AngularJS (and optionally Bootstrap). Based off Bootstrap switch by Matt Lartentis and forked from cgarvis.

Preview

Demo

jumplink.github.io/angular-toggle-switch

Installation

Download angular-toggle-switch.min.js or install with bower.

$ bower install angular-bootstrap-toggle-switch --save

Load angular-toggle-switch.min.js then add the toggle-switch module to your Angular App.

angular.module('app', ['toggle-switch']);

See demo for usage.

Less

If you want to use your bootstrap variables, include toggle-switch.less in your compilation stack. You can even choose among Bootstrap version 2 or 3 compatible source.

Development

Testing is done using Karma Test Runner.

$ grunt test

Release

$ grunt release

About

AngularJS Toggle Switch

http://jumplink.github.io/angular-toggle-switch/

License:MIT License


Languages

Language:JavaScript 50.7%Language:HTML 34.0%Language:CSS 15.3%