You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@piworks/angular-bootstrap-toggle-switch

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@piworks/angular-bootstrap-toggle-switch

Toggle Switches for AngularJS (and optionally Bootstrap). Based off [Bootstrap switch](http://www.larentis.eu/switch/) by Matt Lartentis and forked from [cgarvis](https://github.com/cgarvis/angular-toggle-switch).


Version published
Weekly downloads
409
increased by54.92%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

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.

Note: This repo was forked from JumpLink's angular-toggle-switch to provide a way for the package to be installed with npm. No other improvement or maintaining was foreseen. So any contribution should be made to the original repo at first and then be sent to this repo via a pull request.

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

Or install with npm.

$ npm install @piworks/angular-bootstrap-toggle-switch

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

Keywords

FAQs

Package last updated on 10 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc