From: Chris Rebert Date: Wed, 12 Nov 2014 03:26:10 +0000 (-0800) Subject: move single-toggle button plugin callout before example for consistency X-Git-Tag: v3.3.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b2d1570fa85c0faac0e7da65b415e59996f4300;p=thirdparty%2Fbootstrap.git move single-toggle button plugin callout before example for consistency --- diff --git a/docs/_includes/js/buttons.html b/docs/_includes/js/buttons.html index cf0bfcb9e0..5303a91ac3 100644 --- a/docs/_includes/js/buttons.html +++ b/docs/_includes/js/buttons.html @@ -35,6 +35,10 @@

Single toggle

Add data-toggle="button" to activate toggling on a single button.

+
+

Pre-toggled buttons need .active and aria-pressed="true"

+

For pre-toggled buttons, you must add the .active class and the aria-pressed="true" attribute to the button yourself.

+
{% endhighlight %} -
-

Pre-toggled buttons need .active and aria-pressed="true"

-

For pre-toggled buttons, you must add the .active class and the aria-pressed="true" attribute to the button yourself.

-

Checkbox / Radio

Add data-toggle="buttons" to a .btn-group containing checkbox or radio inputs to enable toggling in their respective styles.