src/aria/widgets/form/list/ListController.js
function () {
            var selectedIndexes = this.getSelectedIndexes();
            var retVal = [];
            var items = this._data.items;
            for (var i = 0, length = selectedIndexes.length; i < length; i++) {
                retVal[i] = items[selectedIndexes[i]];
            }
            return retVal;
        }
function () {
            var selectedIndexes = this.getSelectedIndexes();
            var retVal = [];
            var items = this._data.items;
            for (var i = 0, length = selectedIndexes.length; i < length; i++) {
                retVal[i] = items[selectedIndexes[i]];
            }
            return retVal;
        }
function ( ) { var selectedIndexes = this . getSelectedIndexes ( ) ; var retVal = [ ] ; var items = this . _data . items ; for ( var i = 0 , length = selectedIndexes . length ; i < length ; i ++ ) { retVal [ i ] = items [ selectedIndexes [ i ] ] ; } return retVal ; }
Gets all selected list items.
@return {Array} An array of all selected items. The items returned are in the internal data model format.
From these items it's possible to get for example label, value and selection data.
Gets all selected list items .