1
0
mirror of synced 2024-11-22 04:56:08 +03:00

Update documentation to include search parameter

Update the documentation to add the search parameter, which was missing.

This should not be buried in the source code, since this is a really useful function.
This commit is contained in:
Jānis Peisenieks 2014-10-29 15:52:48 +02:00
parent 6938ccf20b
commit 67d71754c4

View File

@ -1758,7 +1758,12 @@ $("#select").select2({
<p>Notifies Select2 that a drag and drop sorting operation has finished. Select2 will re-display any elements previously hidden and update the selection of the element it is attached to.
Example: <code>$("#tags").select2("onSortEnd");</code>
</p>
<div class="row">
<div class="span12"><h3>search</h3></div>
</div>
<p>Executes a new search using the provided value.
Example: <code>$("#tags").select2("search","California");</code>
</p>
<div class="row">
<div class="span12"><h2>Events</h2></div>