2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00
This commit is contained in:
Chris Rebert
2014-02-02 22:51:19 -08:00
parent e9212e8ab7
commit 27e080df4b
+4
View File
@@ -548,6 +548,10 @@ $('#myModal').on('hidden.bs.modal', function (e) {
{% highlight js %}
$('.dropdown-toggle').dropdown()
{% endhighlight %}
<div class="bs-callout bs-callout-info">
<h4><code>data-toggle="dropdown"</code> still required</h4>
<p>Regardless of whether you call your dropdown via JavaScript or instead use the data-api, <code>data-toggle="dropdown"</code> is always required to be present on the dropdown's trigger element.</p>
</div>
<h3>Options</h3>
<p><em>None</em></p>