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

Merge pull request #437 from rgarcia/patch-1

add documentation for focus/isFocused
This commit is contained in:
Igor Vaynberg 2012-09-21 10:01:22 -07:00
commit d9f72b4c22

View File

@ -1344,6 +1344,16 @@ Example: <pre class="prettyprint">alert("Selected value is: "+$("#e8").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. <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> Example: <code>$("#tags").select2("onSortEnd");</code>
</p> </p>
<div class="row">
<div class="span12"><h3>focus</h3></div>
</div>
<p>Focuses on a specific dropdown.</code>
</p>
<div class="row">
<div class="span12"><h3>isFocused</h3></div>
</div>
<p>Checks if a dropdown is focused.
</p>
<div class="row"> <div class="row">