src/aria/widgets/form/InputValidationHandler.js
function () {
            var errorTipPosition = this._WidgetCfg.errorTipPosition;
            var preferredPositions = [this._preferredPositions[errorTipPosition]];
            for (var i in this._preferredPositions) {
                if (this._preferredPositions.hasOwnProperty(i) && errorTipPosition != i) {
                    preferredPositions.push(this._preferredPositions[i]);
                }
            }
            return preferredPositions;
        }
function () {
            var errorTipPosition = this._WidgetCfg.errorTipPosition;
            var preferredPositions = [this._preferredPositions[errorTipPosition]];
            for (var i in this._preferredPositions) {
                if (this._preferredPositions.hasOwnProperty(i) && errorTipPosition != i) {
                    preferredPositions.push(this._preferredPositions[i]);
                }
            }
            return preferredPositions;
        }
function ( ) { var errorTipPosition = this . _WidgetCfg . errorTipPosition ; var preferredPositions = [ this . _preferredPositions [ errorTipPosition ] ] ; for ( var i in this . _preferredPositions ) { if ( this . _preferredPositions . hasOwnProperty ( i ) && errorTipPosition != i ) { preferredPositions . push ( this . _preferredPositions [ i ] ) ; } } return preferredPositions ; }
Creates an array of preferred positions, will first get the preferred position specified in the widgets
errorTipPosition property.
@return {Array} Returns an array of preferred positions.
Creates an array of preferred positions will first get the preferred position specified in the widgets errorTipPosition property .