dispatchPreviewStartEvent_(previewUid, index) {
      const previewStartEvent =
          new Event(PreviewGenerator.EventType.PREVIEW_START);
      if (!this.documentInfo_.isModifiable) {
        index = -1;
      }
      previewStartEvent.previewUrl = 'chrome://print/' + previewUid.toString() +
          '/' + index + '/print.pdf';
      this.dispatchEvent(previewStartEvent);
    }
/**
     * Dispatches a PREVIEW_START event. Signals that the preview should be
     * reloaded.
     * @param {number} previewUid Unique identifier of the preview.
     * @param {number} index Index of the first page of the preview.
     * @private
     */
Dispatches a PREVIEW_START event. Signals that the preview should be
reloaded.
@param {number} previewUid Unique identifier of the preview.
@param {number} index Index of the first page of the preview.
@private
Dispatches a PREVIEW_START event . Signals that the preview should be reloaded . @param { number } previewUid Unique identifier of the preview . @param { number } index Index of the first page of the preview . @private
dispatchPreviewStartEvent_(previewUid, index) {
      const previewStartEvent =
          new Event(PreviewGenerator.EventType.PREVIEW_START);
      if (!this.documentInfo_.isModifiable) {
        index = -1;
      }
      previewStartEvent.previewUrl = 'chrome://print/' + previewUid.toString() +
          '/' + index + '/print.pdf';
      this.dispatchEvent(previewStartEvent);
    }
dispatchPreviewStartEvent_ ( previewUid , index ) { const previewStartEvent = new Event ( PreviewGenerator . EventType . PREVIEW_START ) ; if ( ! this . documentInfo_ . isModifiable ) { index = - 1 ; } previewStartEvent . previewUrl = 'chrome://print/' + previewUid . toString ( ) + '/' + index + '/print.pdf' ; this . dispatchEvent ( previewStartEvent ) ; }
Dispatches a PREVIEW_START event.
Dispatches a PREVIEW_START event .