src/aria/widgets/form/list/ListController.js
function (itemIndex) {
            var data = this._data;
            itemIndex = parseInt(itemIndex, 10); // it will most likely be a string before the conversion
            if (isNaN(itemIndex) || itemIndex < 0 || itemIndex > data.items.length) {
                return; // ignore wrong values of itemIndex
            }
            var item = data.items[itemIndex];
            this._navigationEvent = true;
            var evt = {
                name : "itemMouseOver",
                index : itemIndex,
                item : item,
                value : item.value
            };
            this.$raiseEvent(evt);
        }
function (itemIndex) {
            var data = this._data;
            itemIndex = parseInt(itemIndex, 10); // it will most likely be a string before the conversion
            if (isNaN(itemIndex) || itemIndex < 0 || itemIndex > data.items.length) {
                return; // ignore wrong values of itemIndex
            }
            var item = data.items[itemIndex];
            this._navigationEvent = true;
            var evt = {
                name : "itemMouseOver",
                index : itemIndex,
                item : item,
                value : item.value
            };
            this.$raiseEvent(evt);
        }
function ( itemIndex ) { var data = this . _data ; itemIndex = parseInt ( itemIndex , 10 ) ; // it will most likely be a string before the conversion if ( isNaN ( itemIndex ) || itemIndex < 0 || itemIndex > data . items . length ) { return ; // ignore wrong values of itemIndex } var item = data . items [ itemIndex ] ; this . _navigationEvent = true ; var evt = { name : "itemMouseOver" , index : itemIndex , item : item , value : item . value } ; this . $raiseEvent ( evt ) ; }
Called when the mouse moves over an item.
@param {String} itemIndex index of the item over which the mouse moved
Called when the mouse moves over an item .