Leightweight, easily configurable & supports dragging across devices.
An AngularJS-wrapped jQuery plugin that creates easily-styleable toggle buttons - with dozens of options to configure and customize.
- That's the one you want:
Advanced demo of the Angular wrapper-directive for the jQuery-Plugin, /w data-binding, touch support & more (demo-angular.html) - Basic jQuery-Plugin-only demo (demo.html)
Clone the project and install with npm as follows:
$ git clone https://github.com/eyecatchup/angular-draggable-toggle.git
$ npm install
This project is based on Simon Tabor's jQuery Toggles. I just fixed some minor bugs, added support for touch-enabled devices, replaced the Makefile with Gulp and, of course, created the Angular wrapper. Anyways, all probs should go to Simon!
(c) 2015 - present, Stephan Schmitz [email protected]
License: MIT, http://eyecatchup.mit-license.org
URL: https://github.com/eyecatchup/angular-draggable-toggle