From 9928144dc4e8301ee0dd02ac073682d789b2adb1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 29 Nov 2014 23:03:47 -0800 Subject: [PATCH] Fixes #15241: Add simple example to docs for collapse plugin --- docs/_includes/js/collapse.html | 28 ++++++++++++++++++++++++++-- docs/_includes/nav/javascript.html | 3 ++- docs/assets/css/docs.min.css | 2 +- docs/assets/css/src/docs.css | 5 +++++ docs/assets/js/customize.min.js | 2 +- 5 files changed, 35 insertions(+), 5 deletions(-) diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html index a60e91c83b..b7a9acacce 100644 --- a/docs/_includes/js/collapse.html +++ b/docs/_includes/js/collapse.html @@ -9,8 +9,32 @@

Collapse requires the transitions plugin to be included in your version of Bootstrap.

-

Example accordion

-

Using the collapse plugin, we built a simple accordion by extending the panel component.

+

Example

+

Click the button below to show and hide another element.

+ +
+ +
+
+ Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. +
+
+
+{% highlight html %} + +
+
+ ... +
+
+{% endhighlight %} + +

Accordion example

+

You can extend the collapse plugin with the panel component to create an accordion.

diff --git a/docs/_includes/nav/javascript.html b/docs/_includes/nav/javascript.html index 711713e432..76e6732f8d 100644 --- a/docs/_includes/nav/javascript.html +++ b/docs/_includes/nav/javascript.html @@ -92,7 +92,8 @@
  • Collapse