Skip to content

Commit

Permalink
Update JS-powered buttons docs to include single button example
Browse files Browse the repository at this point in the history
Closes #25067
  • Loading branch information
mdo committed Dec 24, 2017
1 parent 2416801 commit 68b5682
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/4.0/components/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,15 +123,9 @@ The checked state for these buttons is **only updated via `click` event** on the
Note that pre-checked buttons require you to manually add the `.active` class to the input's `<label>`.

{% example html %}
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="checkbox" checked autocomplete="off"> Active
</label>
<label class="btn btn-secondary">
<input type="checkbox" autocomplete="off"> Check
</label>
<label class="btn btn-secondary">
<input type="checkbox" autocomplete="off"> Check
<input type="checkbox" checked autocomplete="off"> Checked
</label>
</div>
{% endexample %}
Expand Down

0 comments on commit 68b5682

Please sign in to comment.