|
FoxitPDFSDKforWeb v12.0.0
Foxit PDF SDK for Web
|
An interface for customizing the document-level loading overlay. Assign a constructor that implements this interface to options.customs.PDFDocRendering. The SDK creates an instance with the document rendering host element and the owner PDFDocRender, then calls PDFDocRendering.rendering / PDFDocRendering.rendered around document render, and PDFDocRendering.destroy when the document render is released.
More...
Public Member Functions | |
| constructor (eUi, pdfDocRender) | |
| Create a document rendering overlay controller. More... | |
| void | destroy () |
| Destroy the overlay controller and release references. More... | |
| void | rendered () |
| Called when the document finishes rendering. Hide or clear the loading UI. More... | |
| void | rendering () |
| Called when the document starts rendering. Show loading UI on the host element. More... | |
An interface for customizing the document-level loading overlay. Assign a constructor that implements this interface to options.customs.PDFDocRendering. The SDK creates an instance with the document rendering host element and the owner PDFDocRender, then calls PDFDocRendering.rendering / PDFDocRendering.rendered around document render, and PDFDocRendering.destroy when the document render is released.
| PDFDocRendering::constructor | ( | eUi | , |
| pdfDocRender | |||
| ) |
Create a document rendering overlay controller.
| eUi | HTMLElement - Host element for the document loading overlay (.fv__pdf-doc-rendering). |
| pdfDocRender | PDFDocRender - Owner document render instance. |
| void PDFDocRendering::destroy | ( | ) |
Destroy the overlay controller and release references.
| void PDFDocRendering::rendered | ( | ) |
Called when the document finishes rendering. Hide or clear the loading UI.
| void PDFDocRendering::rendering | ( | ) |
Called when the document starts rendering. Show loading UI on the host element.