dispatchPageReadyEvent_(previewIndex, pageNumber, previewUid) {
      const pageGenEvent = new Event(PreviewGenerator.EventType.PAGE_READY);
      pageGenEvent.previewIndex = previewIndex;
      pageGenEvent.previewUrl = 'chrome://print/' + previewUid.toString() +
          '/' + (pageNumber - 1) + '/print.pdf';
      this.dispatchEvent(pageGenEvent);
    }
/**
     * Dispatches a PAGE_READY event to signal that a page preview is ready.
     * @param {number} previewIndex Index of the page with respect to the pages
     *     shown in the preview. E.g an index of 0 is the first displayed page,
     *     but not necessarily the first original document page.
     * @param {number} pageNumber Number of the page with respect to the
     *     document. A value of 3 means it's the third page of the original
     *     document.
     * @param {number} previewUid Unique identifier of the preview.
     * @private
     */
Dispatches a PAGE_READY event to signal that a page preview is ready.
@param {number} previewIndex Index of the page with respect to the pages
shown in the preview. E.g an index of 0 is the first displayed page,
but not necessarily the first original document page.
@param {number} pageNumber Number of the page with respect to the
document. A value of 3 means it's the third page of the original
document.
@param {number} previewUid Unique identifier of the preview.
@private
Dispatches a PAGE_READY event to signal that a page preview is ready . @param { number } previewIndex Index of the page with respect to the pages shown in the preview . E . g an index of 0 is the first displayed page but not necessarily the first original document page . @param { number } pageNumber Number of the page with respect to the document . A value of 3 means it ' s the third page of the original document . @param { number } previewUid Unique identifier of the preview . @private
dispatchPageReadyEvent_(previewIndex, pageNumber, previewUid) {
      const pageGenEvent = new Event(PreviewGenerator.EventType.PAGE_READY);
      pageGenEvent.previewIndex = previewIndex;
      pageGenEvent.previewUrl = 'chrome://print/' + previewUid.toString() +
          '/' + (pageNumber - 1) + '/print.pdf';
      this.dispatchEvent(pageGenEvent);
    }
dispatchPageReadyEvent_ ( previewIndex , pageNumber , previewUid ) { const pageGenEvent = new Event ( PreviewGenerator . EventType . PAGE_READY ) ; pageGenEvent . previewIndex = previewIndex ; pageGenEvent . previewUrl = 'chrome://print/' + previewUid . toString ( ) + '/' + ( pageNumber - 1 ) + '/print.pdf' ; this . dispatchEvent ( pageGenEvent ) ; }
Dispatches a PAGE_READY event to signal that a page preview is ready.
Dispatches a PAGE_READY event to signal that a page preview is ready .