From dcbe591fa977a6e8aa93ab47ffba6adff24fb519 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 13 Oct 2013 18:56:03 -0700 Subject: [PATCH] mention .invisible in docs per #10102 --- javascript.html | 7 +++++++ 1 file changed, 7 insertions(+) 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.