updateTermViewHight_() {
      var termsView = this.getElement_('arc-tos-view');
      var termsViewContainer = this.getElement_('arc-tos-view-container');
      var setTermsHeight = function() {
        // Reset terms-view height in order to stabilize style computation.
        // For some reason, child webview affects final result.
        termsView.style.height = '0px';
        var style = window.getComputedStyle(termsViewContainer, null);
        var height = style.getPropertyValue('height');
        termsView.style.height = height;
      };
      setTimeout(setTermsHeight, 0);
    }
/**
     * Updates ToS webview height.
     *
     * @private
     */
Updates ToS webview height.
@private
Updates ToS webview height . @private
updateTermViewHight_() {
      var termsView = this.getElement_('arc-tos-view');
      var termsViewContainer = this.getElement_('arc-tos-view-container');
      var setTermsHeight = function() {
        termsView.style.height = '0px';
        var style = window.getComputedStyle(termsViewContainer, null);
        var height = style.getPropertyValue('height');
        termsView.style.height = height;
      };
      setTimeout(setTermsHeight, 0);
    }
updateTermViewHight_ ( ) { var termsView = this . getElement_ ( 'arc-tos-view' ) ; var termsViewContainer = this . getElement_ ( 'arc-tos-view-container' ) ; var setTermsHeight = function ( ) { termsView . style . height = '0px' ; var style = window . getComputedStyle ( termsViewContainer , null ) ; var height = style . getPropertyValue ( 'height' ) ; termsView . style . height = height ; } ; setTimeout ( setTermsHeight , 0 ) ; }
Updates ToS webview height.
Updates ToS webview height .
// Reset terms-view height in order to stabilize style computation. // For some reason, child webview affects final result.