code: function () {
          var self = this;
  
          self._super();
  
          self.settings.activeTab = self.settings.activeTab || 0;
          self.activateTab(self.settings.activeTab);
  
          this.on('click', function (e) {
            var targetParent = e.target.parentNode;
  
            if (targetParent && targetParent.id == self._id + '-head') {
              var i = targetParent.childNodes.length;
  
              while (i--) {
                if (targetParent.childNodes[i] == e.target) {
                  self.activateTab(i);
                }
              }
            }
          });
        }
docs: Called after the control has been rendered.
  
  @method postRender