1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Merge pull request #1366 from MichaelSitter/gh-pages

Documentation entry for search action
This commit is contained in:
Igor Vaynberg 2013-06-04 10:44:55 -07:00
commit 4de10bbb6f

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>