focusButton_() {
      var id;
      if (this.hasClass_('arc-tos-loaded')) {
        id = 'arc-tos-next-button';
      } else if (this.hasClass_('error')) {
        id = 'arc-tos-retry-button';
      }

      if (typeof id === 'undefined')
        return;

      setTimeout(function() {
        this.getElement_(id).focus();
      }.bind(this), 0);
    }
/**
     * Ensures the correct button is focused when the page is shown.
     *
     * @private
     */
Ensures the correct button is focused when the page is shown.
@private
Ensures the correct button is focused when the page is shown . @private
focusButton_() {
      var id;
      if (this.hasClass_('arc-tos-loaded')) {
        id = 'arc-tos-next-button';
      } else if (this.hasClass_('error')) {
        id = 'arc-tos-retry-button';
      }
      if (typeof id === 'undefined')
        return;
      setTimeout(function() {
        this.getElement_(id).focus();
      }.bind(this), 0);
    }
focusButton_ ( ) { var id ; if ( this . hasClass_ ( 'arc-tos-loaded' ) ) { id = 'arc-tos-next-button' ; } else if ( this . hasClass_ ( 'error' ) ) { id = 'arc-tos-retry-button' ; } if ( typeof id === 'undefined' ) return ; setTimeout ( function ( ) { this . getElement_ ( id ) . focus ( ) ; } . bind ( this ) , 0 ) ; }
Ensures the correct button is focused when the page is shown.
Ensures the correct button is focused when the page is shown .