Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cgarvis/angular-toggle-switch
AngularJS Toggle Switch
https://github.com/cgarvis/angular-toggle-switch
Last synced: 4 months ago
JSON representation
AngularJS Toggle Switch
- Host: GitHub
- URL: https://github.com/cgarvis/angular-toggle-switch
- Owner: cgarvis
- License: mit
- Archived: true
- Created: 2013-05-09T19:36:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-30T16:12:55.000Z (over 7 years ago)
- Last Synced: 2024-08-04T15:26:38.372Z (4 months ago)
- Language: JavaScript
- Homepage: http://cgarvis.github.io/angular-toggle-switch
- Size: 226 KB
- Stars: 160
- Watchers: 8
- Forks: 124
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angular-toggle-switch [![Build Status](https://travis-ci.org/cgarvis/angular-toggle-switch.png?branch=master)](https://travis-ci.org/cgarvis/angular-toggle-switch)
Toggle Switches for AngularJS. Based off [Bootstrap switch](http://www.larentis.eu/switch/) by Matt Lartentis.
## Demo
[cgarvis.github.io/angular-toggle-switch](http://cgarvis.github.io/angular-toggle-switch)## Installation
Download [angular-toggle-switch.min.js](https://raw.github.com/cgarvis/angular-toggle-switch/master/angular-toggle-switch.min.js) or install with bower.
```bash
$ bower install angular-toggle-switch --save
```Load `angular-toggle-switch.min.js` then add the `toggle-switch` module to your Angular App.
```javascript
angular.module('app', ['toggle-switch']);
```See [demo](http://cgarvis.github.io/angular-toggle-switch) for usage.
## Development
Testing is done using Karma Test Runner.
```bash
$ grunt test
```## Release
```bash
$ grunt release
```