Commit 6fa9037e authored by Mark Otto's avatar Mark Otto

mention .dropdown-backdrop and .open in dropdown docs /cc #10102

parent 727a91de
......@@ -449,6 +449,7 @@ $('#myModal').on('hidden.bs.modal', function () {
<h2 id="dropdowns-usage">Usage</h2>
<p>Via data attributes or JavaScript, the dropdown plugin toggles hidden content (dropdown menus) by toggling the <code>.open</code> class on the parent list item. When opened, the plugin also adds <code>.dropdown-backdrop</code> as a click area for closing dropdown menus when clicking outside the menu.</p>
<h3>Via data attributes</h3>
<p>Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment