2017 © Pedro Peláez
 

component bootstrap-switch

Turn checkboxes and radio buttons into toggle switches.

image

thatsus/bootstrap-switch

Turn checkboxes and radio buttons into toggle switches.

  • Tuesday, February 23, 2016
  • by rlambertsen
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 1348 Forks
  • 0 Open issues
  • 17 Versions
  • 13 % Grown

The README.md

Bootstrap Switch

Dependency Status devDependency Status NPM Version, (*1)

Turn checkboxes and radio buttons into toggle switches. This library is created by Mattia Larentis and maintained by the core team, with the help of the community., (*2)

To get started, check out http://bootstrap-switch.org!, (*3)

Core team

Demo and Documentation

Getting started

Include the dependencies: jQuery, Bootstrap and Bootstrap Switch CSS + Javascript:, (*4)

``` html [...] [...], (*5)


Add your checkbox: ```html <input type="checkbox" name="my-checkbox" checked>

Initialize Bootstrap Switch on it:, (*6)

$("[name='my-checkbox']").bootstrapSwitch();

Enjoy., (*7)

Supported browsers

IE9+ and all the other modern browsers., (*8)

LESS + SASS

Import src/less/bootstrap2/bootstrap-switch.less for version <= 2.3.2 or src/less/bootstrap3/bootstrap-switch.less for version <= 3.3.4 in your compilation stack., (*9)

Bugs and feature requests

Have a bug or a feature request? Please first search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue., (*10)

The new issue should contain both a summary of the issue and the browser/OS environment in which it occurs and a link to the playground you prefer with the reduced test case. If suitable, include the steps required to reproduce the bug., (*11)

Please do not use the issue tracker for personal support requests: Stack Overflow is a better place to get help., (*12)

Known issues

  • Make sure .form-control is not applied to the input. Bootstrap does not support that, refer to Checkboxes and radios

Integrations

AngularJs

Two custom directives are available: - angular-bootstrap-switch - angular-toggle-switch, (*13)

KnockoutJs

A Knockout binding handler is available here, (*14)

NuGet

A NuGet package is available here, (*15)

License

Licensed under the MIT License https://github.com/nostalgiaz/bootstrap-switch/issues/347, (*16)

The Versions

23/02 2016

dev-master

9999999-dev http://www.bootstrap-switch.org

Turn checkboxes and radio buttons into toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

09/07 2015

dev-develop

dev-develop http://www.bootstrap-switch.org

Turn checkboxes and radio buttons into toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

25/01 2015

dev-prevent-default

dev-prevent-default http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

25/01 2015

3.3.2

3.3.2.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

06/01 2015

3.3.1

3.3.1.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

17/12 2014

3.3.0

3.3.0.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

15/11 2014

3.2.2

3.2.2.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

07/11 2014

3.2.1

3.2.1.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

05/11 2014

3.2.0

3.2.0.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

25/10 2014

3.1.0

3.1.0.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License Version 2.0

bootstrap javascript switch js

22/06 2014

3.0.2

3.0.2.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License, Version 2.0

bootstrap javascript switch js

26/05 2014

3.0.1

3.0.1.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License, Version 2.0

bootstrap javascript switch js

01/04 2014

3.0.0

3.0.0.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License, Version 2.0

bootstrap javascript switch js

19/01 2014

2.0.1

2.0.1.0 http://www.bootstrap-switch.org

Turn checkboxes and radio buttons in toggle switches.

  Sources   Download

Apache License, Version 2.0

bootstrap javascript switch js

10/12 2013

1.9.0

1.9.0.0 http://www.larentis.eu/switch/

Unofficial bootstrap switch

  Sources   Download

Apache License, Version 2.0

javascript

10/08 2013

v1.8.0

1.8.0.0 http://www.larentis.eu/switch/

Unofficial bootstrap switch

  Sources   Download

Apache License, Version 2.0

javascript

31/07 2013

v1.7.0

1.7.0.0 http://www.larentis.eu/switch/

Unofficial bootstrap switch

  Sources   Download

Apache License, Version 2.0

javascript