Added doc entry for search method.
This commit is contained in:
parent
fa50cb0efc
commit
d56b2b9b96
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user