whole_func_string: function _setListeners() {
          this.tabBar.on('tabchange', function(event) {
              _updateView.call(this, event);
              this._eventOutput.emit('tabchange', {
                  target: this,
                  index: event.index,
                  oldIndex: event.oldIndex,
                  item: this._items[event.index],
                  oldItem: ((event.oldIndex >= 0) && (event.oldIndex < this._items.length)) ? this._items[event.oldIndex] : undefined
              });
          }.bind(this));
      }
func_code_string: function _setListeners() {
          this.tabBar.on('tabchange', function(event) {
              _updateView.call(this, event);
              this._eventOutput.emit('tabchange', {
                  target: this,
                  index: event.index,
                  oldIndex: event.oldIndex,
                  item: this._items[event.index],
                  oldItem: ((event.oldIndex >= 0) && (event.oldIndex < this._items.length)) ? this._items[event.oldIndex] : undefined
              });
          }.bind(this));
      }
func_documentation_string: Sets the listeners.