src/aria/widgets/form/InputValidationHandler.js
function (evt) {
            var position = evt.position;
            if (position) {
                // state is named after the position, except for topRight where it is named normal
                var state = position.reference.replace(" right", "Right").replace(" left", "Left");
                if (state === 'topRight') {
                    state = 'normal';
                }
                var div = this._div, frame = div._frame;

                // Make sure that the div is initialised (only once),
                // as _onTooltipPositioned can be called several times for the same popup
                div.getDom();
                // this is backward compatibility for skin without errortooltip position states
                if (frame.checkState(state)) {
                    frame.changeState(state);
                }
            }
        }
function (evt) {
            var position = evt.position;
            if (position) {
                // state is named after the position, except for topRight where it is named normal
                var state = position.reference.replace(" right", "Right").replace(" left", "Left");
                if (state === 'topRight') {
                    state = 'normal';
                }
                var div = this._div, frame = div._frame;

                // Make sure that the div is initialised (only once),
                // as _onTooltipPositioned can be called several times for the same popup
                div.getDom();
                // this is backward compatibility for skin without errortooltip position states
                if (frame.checkState(state)) {
                    frame.changeState(state);
                }
            }
        }
function ( evt ) { var position = evt . position ; if ( position ) { // state is named after the position, except for topRight where it is named normal var state = position . reference . replace ( " right" , "Right" ) . replace ( " left" , "Left" ) ; if ( state === 'topRight' ) { state = 'normal' ; } var div = this . _div , frame = div . _frame ; // Make sure that the div is initialised (only once), // as _onTooltipPositioned can be called several times for the same popup div . getDom ( ) ; // this is backward compatibility for skin without errortooltip position states if ( frame . checkState ( state ) ) { frame . changeState ( state ) ; } } }
Raised by the popup when its positioned. Needed to change the skin of the popup to place the arrow properly.
@param {Object} evt
Raised by the popup when its positioned . Needed to change the skin of the popup to place the arrow properly .