src/aria/widgets/action/SortIndicator.js
function () {
            var cfg = this._cfg;
            var anchorElement = ariaUtilsDom.getDomElementChild(this.getDom(), 0);

            var ellipseElement = Aria.$window.document.createElement("span");

            ellipseElement.innerHTML = ariaUtilsString.escapeHTML(cfg.label);

            this.textContent = cfg.label;

            if (ellipseElement.innerHTML) {
                anchorElement.insertBefore(ellipseElement, anchorElement.firstChild);
            }

            var labelWidth = cfg.labelWidth;
            if (labelWidth > 0) {
                this._ellipsis = new ariaUtilsEllipsis(ellipseElement, labelWidth, cfg.ellipsisLocation, cfg.ellipsis, this._context, cfg.ellipsisEndStyle);
            }

            if (ellipseElement.innerHTML) {
                anchorElement.removeChild(anchorElement.childNodes[1]);
            }
        }
function () {
            var cfg = this._cfg;
            var anchorElement = ariaUtilsDom.getDomElementChild(this.getDom(), 0);

            var ellipseElement = Aria.$window.document.createElement("span");

            ellipseElement.innerHTML = ariaUtilsString.escapeHTML(cfg.label);

            this.textContent = cfg.label;

            if (ellipseElement.innerHTML) {
                anchorElement.insertBefore(ellipseElement, anchorElement.firstChild);
            }

            var labelWidth = cfg.labelWidth;
            if (labelWidth > 0) {
                this._ellipsis = new ariaUtilsEllipsis(ellipseElement, labelWidth, cfg.ellipsisLocation, cfg.ellipsis, this._context, cfg.ellipsisEndStyle);
            }

            if (ellipseElement.innerHTML) {
                anchorElement.removeChild(anchorElement.childNodes[1]);
            }
        }
function ( ) { var cfg = this . _cfg ; var anchorElement = ariaUtilsDom . getDomElementChild ( this . getDom ( ) , 0 ) ; var ellipseElement = Aria . $window . document . createElement ( "span" ) ; ellipseElement . innerHTML = ariaUtilsString . escapeHTML ( cfg . label ) ; this . textContent = cfg . label ; if ( ellipseElement . innerHTML ) { anchorElement . insertBefore ( ellipseElement , anchorElement . firstChild ) ; } var labelWidth = cfg . labelWidth ; if ( labelWidth > 0 ) { this . _ellipsis = new ariaUtilsEllipsis ( ellipseElement , labelWidth , cfg . ellipsisLocation , cfg . ellipsis , this . _context , cfg . ellipsisEndStyle ) ; } if ( ellipseElement . innerHTML ) { anchorElement . removeChild ( anchorElement . childNodes [ 1 ] ) ; } }
Called when a new instance is created if an ellipsis is needed on this SortIndicator instance
@protected
Called when a new instance is created if an ellipsis is needed on this SortIndicator instance