0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
This commit is contained in:
Chris Rebert 2014-02-02 22:51:19 -08:00
parent e9212e8ab7
commit 27e080df4b

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>