GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - wpic/bootstrap-switch: Turn checkbox to Boostrap toggle button with iOS style.

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
bootstrap-switch.js
bootstrap-switch.js
 
 
bower.json
bower.json
 
 
sample.html
sample.html
 
 
screenshot.png
screenshot.png
 
 

Repository files navigation

Screenshot

Very simple, fast and lightweight (> 2K) jquery plugin for bootstrap to render checkbox like iOS style switch button.

Usage

$(SELECTOR).bootstrapSwitch({
    on: 'On', // default 'On'
    off: 'Off', // default 'Off'
    onLabel: 'closed', //default ''
    offLabel: 'open', //default ''
    same: false, // default false. same text for on/off and onLabel/offLabel
    size: 'lg', // xs/sm/md/lg, default 'md'
    onClass: 'primary', //success/primary/danger/warning/default, default 'primary'
    offClass: 'default', //success/primary/danger/warning/default default 'default'
});

Install

Copy the bootstrap-switch.js or use bower to install:

bower install bootstrapswitch

About

Turn checkbox to Boostrap toggle button with iOS style.

Resources

Readme
Activity
Custom properties

Stars

5 stars

Watchers

5 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.