src/javascripts/modules/jquery.selectBoxIt.core.js
function() {

                    // Removes the hover class from the previous drop down option
                    self.listItems.not($(this)).removeAttr("data-active");

                    $(this).attr("data-active", "");

                    var listIsHidden = self.list.is(":hidden");

                    if((self.options["searchWhenHidden"] && listIsHidden) || self.options["aggressiveChange"] || (listIsHidden && self.options["selectWhenHidden"])) {

                        self._update($(this));

                    }

                    // Adds the focus CSS class to the currently focused dropdown list option
                   $(this).addClass(focusClass);

                }
function() {

                    // Removes the hover class from the previous drop down option
                    self.listItems.not($(this)).removeAttr("data-active");

                    $(this).attr("data-active", "");

                    var listIsHidden = self.list.is(":hidden");

                    if((self.options["searchWhenHidden"] && listIsHidden) || self.options["aggressiveChange"] || (listIsHidden && self.options["selectWhenHidden"])) {

                        self._update($(this));

                    }

                    // Adds the focus CSS class to the currently focused dropdown list option
                   $(this).addClass(focusClass);

                }
function ( ) { // Removes the hover class from the previous drop down option self . listItems . not ( $ ( this ) ) . removeAttr ( "data-active" ) ; $ ( this ) . attr ( "data-active" , "" ) ; var listIsHidden = self . list . is ( ":hidden" ) ; if ( ( self . options [ "searchWhenHidden" ] && listIsHidden ) || self . options [ "aggressiveChange" ] || ( listIsHidden && self . options [ "selectWhenHidden" ] ) ) { self . _update ( $ ( this ) ) ; } // Adds the focus CSS class to the currently focused dropdown list option $ ( this ) . addClass ( focusClass ) ; }
Delegates the `focusin` event with the `selectBoxIt` namespace to the list items
Delegates the focusin event with the selectBoxIt namespace to the list items