angular-checkbox-switch

Ultrasmall AngularJS module to convert regular checkboxes into iOS style switches, using the technique from this codepen: http://codepen.io/BandarRaffah/pen/ibwje. All credits to its author

Added by: Sam Deering

GitHub

Repository

jiparis/angular-checkbox-switch

Stats

Stars: 5

Watchers: 5

Forks: 1

Author

Jip
Jip

Module Description

angular-checkbox-switch

Small AngularJS module to convert regular checkboxes into iOS style switches, using the technique from this codepen: http://codepen.io/BandarRaffah/pen/ibwje

Usage

  1. import checkbox-switch.css and checkbox-switch.js into your page
  2. include the module into your angular app:
var myApp = angular.module("myApp", ["cbSwitch"]);
  1. Apply the directive to your checkboxes:
<input type="checkbox" cb-switch ng-model="myvalue" />

Module stats last updated: 2015-06-04 11:08:55

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!