GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing www.bootstraptoggle.com — Bootstrap Toggle Getting StartedInstallationYou can download the latest version of Bootstrap Toggle or use CDN to load the library. Warning If you are using Bootstrap v2.3.2, use <link href="https://gitcdn.github.io/bootstrap-toggle/2.2.2/css/bootstrap-toggle.min.css" rel="stylesheet">
<script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script>
Bower Installbower install bootstrap-toggle
UsageBasic exampleSimply add Stacked checkboxesRefer to Bootstrap Form Controls documentation to create stacked checkboxes. Simply add
Option one is enabled
Option two is disabled
Inline CheckboxesRefer to Bootstrap Form Controls documentation to create inline checkboxes. Simply add
First
Second
Third
APIInitialize by JavaScriptInitialize toggles with id OptionsOptions can be passed via data attributes or JavaScript. For data attributes, append the option name to
MethodsMethods can be used to control toggles directly.
EventsEvent PropagationNote All events are propagated to and from input element to the toggle. You should listen to events from the API vs InputThis also means that using the API or Input to trigger events will work both ways. DemosSizesBootstrap toggle is available in different sizes. Refer to Bootstrap Button Sizes documentation for more information. Custom SizesBootstrap toggle can handle custom sizes by ColorsBootstrap Toggle supports various colors. Refer to Bootstrap Button Options documentation for more information. Colors MixYou can style on state as well as the off state. Custom StyleCustomized styles can be applied as easily. Custom TextThe text can be changed easily with attributes or options. Icons/Html TextYou can easily add icons or images since html is supported for on/off text. Multiple Lines of TextToggles with multiple lines will adjust its heights. Animation SpeedTransition speed can be easily controlled with css | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402605 — 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. |