code: 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));
      }
docs: Sets the listeners.