aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorfat <[email protected]>2013-07-18 01:08:19 -0700
committerfat <[email protected]>2013-07-18 01:08:19 -0700
commit6ec8a1e44f6b58ed57d015916a4fe39bfb0e2340 (patch)
tree8480da0e7c249bf59f6a13e9f108d1429e1d4741 /docs/components.html
parent4b40ee692dc066f2ad3c4dd96af67a83475f5cbe (diff)
parent181b27677492050adceaa52fe972115515759f07 (diff)
downloadbootstrap-6ec8a1e44f6b58ed57d015916a4fe39bfb0e2340.tar.xz
bootstrap-6ec8a1e44f6b58ed57d015916a4fe39bfb0e2340.zip
Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip
Conflicts: docs/assets/js/bootstrap.min.js
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/components.html b/docs/components.html
index 5cc3a1e28..9202b133a 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -48,6 +48,31 @@ lead: "Dozens of reusable components built to provide iconography, dropdowns, na
</ul>
{% endhighlight %}
+ <h3 id="dropdowns-headers">Dropdown headers</h3>
+ <p>Add a header to break up label sections of actions in any dropdown menu.</p>
+ <div class="bs-example">
+ <div class="dropdown clearfix">
+ <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
+ <li class="dropdown-header">Dropdown header</li>
+ <li><a tabindex="-1" href="#">Action</a></li>
+ <li><a tabindex="-1" href="#">Another action</a></li>
+ <li><a tabindex="-1" href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li class="dropdown-header">Dropdown header</li>
+ <li><a tabindex="-1" href="#">Separated link</a></li>
+ </ul>
+ </div>
+ </div><!-- /example -->
+{% highlight html %}
+<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
+ <li class="dropdown-header">Dropdown header</li>
+ ...
+ <li class="divider"></li>
+ <li class="dropdown-header">Dropdown header</li>
+ ...
+</ul>
+{% endhighlight %}
+
<h3 id="dropdowns-disabled">Disabled menu options</h3>
<p>Add <code>.disabled</code> to a <code>&lt;li&gt;</code> in the dropdown to disable the link.</p>
<div class="bs-example">