docs: function (out) {
              if (!this._cfgOk) {
                  // configuration was incorrect, do not generate any markup in this case
                  this.initWidget = Aria.empty;
                  return out.write(this.INVALID_CONFIGURATION);
              }
  
              // Only interested in gestures when there's a particular configuration
              var delegateMarkup = "", cfg = this._cfg;
              if (cfg.tapToMove || (cfg.tapToToggle && this._isSwitch)) {
                  this._delegateId = aria.utils.Delegate.add({
                      fn : this.delegate,
                      scope : this
                  });
                  delegateMarkup = aria.utils.Delegate.getMarkup(this._delegateId);
              }
  
              cfg.attributes = cfg.attributes || {};
              cfg.attributes.classList = cfg.attributes.classList || [];
              cfg.attributes.classList.push("touchLibSlider");
  
              out.write([
                      // Div containing the widget
                      '<div ', ariaUtilsHtml.buildAttributeList(cfg.attributes), '" style="width:', this._cfg.width,
                      'px;" ', delegateMarkup, '>',
                      // Rail, thumbs move over here
                      '<span class="touchContainer" style="width:', this._cfg.width, 'px;" id="', this._parentDomId,
                      '">',
                      // slider thumb
                      '<span id="', this._domId, '" class="sliderButton" style="left:0px;"></span>'].join(""));
              if (this._isSwitch) {
                  out.write([
                          // For ON state Markup
                          '<div style="left:0px;width:', this._cfg.width, 'px;" class="touchLibSwitchOn" id="',
                          this._onSwitchId, '">', this._onLabel, '</div>',
                          // For OFF state Markup
                          '<div style="left:0px;width:0px;" class="touchLibSwitchOff" id="', this._offSwitchId, '">',
                          this._offLabel, '</div>'].join(""));
              } else {
                  out.write(['<span class="sliderHighLight" id="', this._highlightDomId, '"></span>'].join(""));
              }
              out.write('</span></div>');
          }