Sha256: 4616df1398d7ea6103cae63d099bcaa547e8ea768c7b512509ef622df4c3ea82

Contents?: true

Size: 1.78 KB

Versions: 20

Compression:

Stored size: 1.78 KB

Contents

<div class="example">
  <div class="sheet-header">
    <h3 id="switch">Switch</h3>
  </div>

  Turns checkboxes and radio buttons in toggle switches

  <div class="bs-callout bs-callout-danger">
    <h4>Plugin dependency</h4>
    <p>
      This component requires customized bootstrapSwitch JS plugin provided by  the
      bootstrap-bookingsync-sass gem.
    </p>
  </div>
  
  <div class="bs-callout bs-callout-danger">
    <h4>Sizes</h4>
    <p>
      BootstrapSwitch plugin provides various size variants. The only variant
      currently supported by <code>bootstrap-bookingsync-sass</code> is the
      <code>switch-small</code>.
    </p>
  </div>

  <div class="bs-example bs-sheet" data-example-id="switch">
    <div class="make-switch switch-small">
      <input type="checkbox" checked>
    </div>
  </div>
</div>
~~~ HTML
<div class="make-switch switch-small">
  <input type="checkbox" checked>
</div>
~~~

<div class="example">
  <div class="sheet-header">
    <h3 id="disabled-switch">Disabled Switch</h3>
  </div>

  <div class="bs-callout bs-callout-danger">
    <h4>Plugin dependency</h4>
    <p>
      This component requires customized bootstrapSwitch JS plugin provided by  the
      bootstrap-bookingsync-sass gem.
    </p>
  </div>
  
  <div class="bs-callout bs-callout-danger">
    <h4>Sizes</h4>
    <p>
      BootstrapSwitch plugin provides various size variants. The only variant
      currently supported by <code>bootstrap-bookingsync-sass</code> is the
      <code>switch-small</code>.
    </p>
  </div>

  <div class="bs-example bs-sheet" data-example-id="disabled-switch">
    <div class="make-switch switch-small">
      <input type="checkbox" checked disabled>
    </div>
  </div>
</div>
~~~ HTML
<div class="make-switch switch-small">
  <input type="checkbox" checked disabled>
</div>
~~~

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
bootstrap-bookingsync-sass-3.0.0 docs/content/components/switch.md
bootstrap-bookingsync-sass-2.0.0 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.5 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.4 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.3 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.2 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.1 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta12 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta11 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta10 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta9 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta8 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta7 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta6 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta5 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta4 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta3 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta2 docs/content/components/switch.md
bootstrap-bookingsync-sass-1.0.0.beta1 docs/content/components/switch.md