diff --git a/javascript.html b/javascript.html index 4fed27e48e..2b03b0927f 100644 --- a/javascript.html +++ b/javascript.html @@ -1574,6 +1574,13 @@ $('.btn-group').button()

Usage

+

The collapse plugin utilizes a few classes to handle the heavy lifting:

+ +

These classes can be found in component-animations.less.

Via data attributes

Just add data-toggle="collapse" and a data-target to element to automatically assign control of a collapsible element. The data-target attribute accepts a CSS selector to apply the collapse to. Be sure to add the class collapse to the collapsible element. If you'd like it to default open, add the additional class in.