1
0
mirror of synced 2025-02-09 16:49:24 +03:00

add documentation for focus/isFocused

This commit is contained in:
Rafael 2012-09-21 08:41:26 -07:00
parent bcd46f07b9
commit 756bf6972d

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.
Example: <code>$("#tags").select2("onSortEnd");</code>
</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">