1
0
mirror of synced 2024-11-26 06:46:04 +03:00

Added doc entry for search method.

This commit is contained in:
Mike S 2013-05-30 13:10:11 -07:00
parent fa50cb0efc
commit d56b2b9b96

View File

@ -1563,6 +1563,11 @@ $("#select").select2({
<div class="span12"><h3>close</h3></div> <div class="span12"><h3>close</h3></div>
</div> </div>
<p>Closes the dropdown</p> <p>Closes the dropdown</p>
<div class="row">
<div class="span12"><h3>search</h3></div>
</div>
<p>Opens the dropdown, sets the value of the input, and updates the results list.
Example: <code>$("#tags").select2("search", "foo");</code></p></p>
<div class="row"> <div class="row">
<div class="span12"><h3>enable(boolean)</h3></div> <div class="span12"><h3>enable(boolean)</h3></div>
</div> </div>