Merge pull request #437 from rgarcia/patch-1
add documentation for focus/isFocused
This commit is contained in:
commit
d9f72b4c22
10
index.html
10
index.html
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user