aboutsummaryrefslogtreecommitdiff
path: root/docs/components/collapse.md
diff options
context:
space:
mode:
authorAlexandr Kondrashov <[email protected]>2015-12-08 02:18:32 +0300
committerAlexandr Kondrashov <[email protected]>2015-12-08 02:18:32 +0300
commit5f316e6dc34f57bfbd0ebf922fe5a01cc6bb38c4 (patch)
tree2951782d8d0aadb61dae9122d0f508a75ed8e7eb /docs/components/collapse.md
parentc9725926b2f30bed4e37f57c20ef8ffeb2fd233b (diff)
parentafbaf4350560eaf2135fb0dc6dd761ebb746ac40 (diff)
downloadbootstrap-5f316e6dc34f57bfbd0ebf922fe5a01cc6bb38c4.tar.xz
bootstrap-5f316e6dc34f57bfbd0ebf922fe5a01cc6bb38c4.zip
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into patch-1
Diffstat (limited to 'docs/components/collapse.md')
-rw-r--r--docs/components/collapse.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/components/collapse.md b/docs/components/collapse.md
index 40050c29f..57e3cd829 100644
--- a/docs/components/collapse.md
+++ b/docs/components/collapse.md
@@ -121,9 +121,9 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
<thead>
<tr>
<th style="width: 100px;">Name</th>
- <th style="width: 50px;">type</th>
- <th style="width: 50px;">default</th>
- <th>description</th>
+ <th style="width: 50px;">Type</th>
+ <th style="width: 50px;">Default</th>
+ <th>Description</th>
</tr>
</thead>
<tbody>
@@ -145,7 +145,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
### Methods
-#### .collapse(options)
+#### `.collapse(options)`
Activates your content as a collapsible element. Accepts an optional options `object`.
@@ -155,15 +155,15 @@ $('#myCollapsible').collapse({
})
{% endhighlight %}
-#### .collapse('toggle')
+#### `.collapse('toggle')`
Toggles a collapsible element to shown or hidden.
-#### .collapse('show')
+#### `.collapse('show')`
Shows a collapsible element.
-#### .collapse('hide')
+#### `.collapse('hide')`
Hides a collapsible element.