src/aria/html/Element.js
function (out) {
                var cfg = this._cfg;
                var attributes = ariaUtilsHtml.buildAttributeList(cfg.attributes);
                var markup = ["<", cfg.tagName, " id='", this._id, "' "];

                if (attributes) {
                    markup.push(attributes, " ");
                }

                var delegateId = this.__delegateId;
                if (delegateId) {
                    var delegateManager = ariaUtilsDelegate;
                    markup.push(delegateManager.getMarkup(delegateId), " ");
                    var delegateFallbackEvents = this.__delegateFallbackEvents;
                    for (var i = 0, l = delegateFallbackEvents.length; i < l; i++) {
                        markup.push(delegateManager.getFallbackMarkup(delegateFallbackEvents[i], delegateId, false), " ");
                    }
                }

                out.write(markup.join(""));
            }
function (out) {
                var cfg = this._cfg;
                var attributes = ariaUtilsHtml.buildAttributeList(cfg.attributes);
                var markup = ["<", cfg.tagName, " id='", this._id, "' "];

                if (attributes) {
                    markup.push(attributes, " ");
                }

                var delegateId = this.__delegateId;
                if (delegateId) {
                    var delegateManager = ariaUtilsDelegate;
                    markup.push(delegateManager.getMarkup(delegateId), " ");
                    var delegateFallbackEvents = this.__delegateFallbackEvents;
                    for (var i = 0, l = delegateFallbackEvents.length; i < l; i++) {
                        markup.push(delegateManager.getFallbackMarkup(delegateFallbackEvents[i], delegateId, false), " ");
                    }
                }

                out.write(markup.join(""));
            }
function ( out ) { var cfg = this . _cfg ; var attributes = ariaUtilsHtml . buildAttributeList ( cfg . attributes ) ; var markup = [ "<" , cfg . tagName , " id='" , this . _id , "' " ] ; if ( attributes ) { markup . push ( attributes , " " ) ; } var delegateId = this . __delegateId ; if ( delegateId ) { var delegateManager = ariaUtilsDelegate ; markup . push ( delegateManager . getMarkup ( delegateId ) , " " ) ; var delegateFallbackEvents = this . __delegateFallbackEvents ; for ( var i = 0 , l = delegateFallbackEvents . length ; i < l ; i ++ ) { markup . push ( delegateManager . getFallbackMarkup ( delegateFallbackEvents [ i ] , delegateId , false ) , " " ) ; } } out . write ( markup . join ( "" ) ) ; }
Write the opening tag without adding the ending '>'. This part is common to both opening and self closing
tag.
@param {aria.templates.MarkupWriter} out
@protected
Write the opening tag without adding the ending > . This part is common to both opening and self closing tag .