From 8b93787fd272ca270615fee00f269c504cb53fa7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 17 Apr 2015 14:11:08 -0700 Subject: move all JS buttons docs to regular buttons docs page, rewrite the callouts and some docs verbage --- docs/components/buttons.md | 96 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) (limited to 'docs/components') diff --git a/docs/components/buttons.md b/docs/components/buttons.md index cf9d8dab6..9d2cc1a3c 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -126,3 +126,99 @@ This class uses `pointer-events: none` to try to disable the link functionality While button classes can be used on `` and ` + +{% endexample %} + +#### Single toggle + +Add `data-toggle="button"` to toggle a button's `active` state. If you're pre-toggling a button, you must manually add the `.active` class **and** `aria-pressed="true"` to the ` +{% endexample %} + +### Checkbox and radio + +Bootstrap's `.button` styles can be applied to other elements, such as `