function focusButton(tab) {
        var _this4 = this;

        // Wrap in nextTick to ensure DOM has completed rendering/updating before focusing
        this.$nextTick(function () {
          var button = _this4.getButtonForTab(tab);

          if (button && button.focus) {
            button.focus();
          }
        });
      }
// Focus a tab button given it's b-tab instance
Focus a tab button given it's b-tab instance
Focus a tab button given it ' s b - tab instance
function focusButton(tab) {
        var _this4 = this;
        this.$nextTick(function () {
          var button = _this4.getButtonForTab(tab);
          if (button && button.focus) {
            button.focus();
          }
        });
      }
function focusButton ( tab ) { var _this4 = this ; this . $nextTick ( function ( ) { var button = _this4 . getButtonForTab ( tab ) ; if ( button && button . focus ) { button . focus ( ) ; } } ) ; }
Focus a tab button given it's b-tab instance
Focus a tab button given it ' s b - tab instance
// Wrap in nextTick to ensure DOM has completed rendering/updating before focusing