src/aria/widgets/frames/FrameWithIcons.js
function (cfg) {
        var skinObject = cfg.skinObject;

        this._baseId = cfg.id;

        this._skinObject = skinObject;
        this._stateName = cfg.state;

        this._iconsLeft = cfg.iconsLeft;
        this._iconsRight = cfg.iconsRight;

        this._icons = {};

        /**
         * Labels for the tooltips of active icon
         * @protected
         * @type Array
         */
        this._tooltipLabels = cfg.tooltipLabels;

        this._iconsAttributes = cfg.iconsAttributes;
        this._iconsWaiLabel = cfg.iconsWaiLabel;

        ariaUtilsArray.forEach(this._iconsLeft, this._initIcon, this);
        ariaUtilsArray.forEach(this._iconsRight, this._initIcon, this);

        this._outerWidth = cfg.width;
        this._outerHeight = cfg.height;

        this._updateIcons();
        this._updateFrameWidth();

        cfg.width = this._frameWidth;
        this._frame = ariaWidgetsFramesFrameFactory.createFrame(cfg);
        this.domElementNbr = this._frame.domElementNbr + this._iconsLeft.length + this._iconsRight.length;
        this.innerWidth = this._frame.innerWidth;
        this.innerHeight = this._frame.innerHeight;
    }
function (cfg) {
        var skinObject = cfg.skinObject;

        this._baseId = cfg.id;

        this._skinObject = skinObject;
        this._stateName = cfg.state;

        this._iconsLeft = cfg.iconsLeft;
        this._iconsRight = cfg.iconsRight;

        this._icons = {};

        /**
         * Labels for the tooltips of active icon
         * @protected
         * @type Array
         */
        this._tooltipLabels = cfg.tooltipLabels;

        this._iconsAttributes = cfg.iconsAttributes;
        this._iconsWaiLabel = cfg.iconsWaiLabel;

        ariaUtilsArray.forEach(this._iconsLeft, this._initIcon, this);
        ariaUtilsArray.forEach(this._iconsRight, this._initIcon, this);

        this._outerWidth = cfg.width;
        this._outerHeight = cfg.height;

        this._updateIcons();
        this._updateFrameWidth();

        cfg.width = this._frameWidth;
        this._frame = ariaWidgetsFramesFrameFactory.createFrame(cfg);
        this.domElementNbr = this._frame.domElementNbr + this._iconsLeft.length + this._iconsRight.length;
        this.innerWidth = this._frame.innerWidth;
        this.innerHeight = this._frame.innerHeight;
    }
function ( cfg ) { var skinObject = cfg . skinObject ; this . _baseId = cfg . id ; this . _skinObject = skinObject ; this . _stateName = cfg . state ; this . _iconsLeft = cfg . iconsLeft ; this . _iconsRight = cfg . iconsRight ; this . _icons = { } ; /**
         * Labels for the tooltips of active icon
         * @protected
         * @type Array
         */ this . _tooltipLabels = cfg . tooltipLabels ; this . _iconsAttributes = cfg . iconsAttributes ; this . _iconsWaiLabel = cfg . iconsWaiLabel ; ariaUtilsArray . forEach ( this . _iconsLeft , this . _initIcon , this ) ; ariaUtilsArray . forEach ( this . _iconsRight , this . _initIcon , this ) ; this . _outerWidth = cfg . width ; this . _outerHeight = cfg . height ; this . _updateIcons ( ) ; this . _updateFrameWidth ( ) ; cfg . width = this . _frameWidth ; this . _frame = ariaWidgetsFramesFrameFactory . createFrame ( cfg ) ; this . domElementNbr = this . _frame . domElementNbr + this . _iconsLeft . length + this . _iconsRight . length ; this . innerWidth = this . _frame . innerWidth ; this . innerHeight = this . _frame . innerHeight ; }
FrameWithIcons constructor. Do not use directly, use the createFrame static method instead, so that the
FrameWithIcons is not used when there is no icon defined in the skin.
@private
FrameWithIcons constructor . Do not use directly use the createFrame static method instead so that the FrameWithIcons is not used when there is no icon defined in the skin .