From 756bf6972dfc9eeb836c197a14619bd9f7b4e58b Mon Sep 17 00:00:00 2001 From: Rafael Date: Fri, 21 Sep 2012 08:41:26 -0700 Subject: [PATCH] add documentation for focus/isFocused --- index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/index.html b/index.html index a5ab1faf..2a2461ce 100755 --- a/index.html +++ b/index.html @@ -1344,6 +1344,16 @@ Example:
alert("Selected value is: "+$("#e8").select2("
 

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

+
+

focus

+
+

Focuses on a specific dropdown. +

+
+

isFocused

+
+

Checks if a dropdown is focused. +