An open API service indexing awesome lists of open source software.

https://github.com/cotag/ios-toggle

A cross browser toggle switch
https://github.com/cotag/ios-toggle

Last synced: about 2 months ago
JSON representation

A cross browser toggle switch

Awesome Lists containing this project

README

          

# CSS based iOS 7 style toggle switch

Provides an AngularJS directive and Compass mixin for simple integration

## Installation

1. Open your bower.json
2. Add `"ios-toggle": "latest"` to your dependency list
3. Run `bower install`
4. In your application you can now add:
* ``

## Usage

1. In your SCSS `@import "../bower_components/ios-toggle/ios-toggle";`
2. Use the `@include ios-toggle()` mixin to define your styles.
* See `ios-toggle.scss` for customisation options
3. Create your progress element:


```html

```

Where `$scope.state` will represent if the switch / toggle is active or inactive.