UIXAddon, an addon that relies on the UIExtension of Foxit PDF SDK for Web, is packaged separately into a JS file. The applications can load this addon as needed. This class defines the method templates what a UIXAddon needs to implement.
More...
UIXAddon, an addon that relies on the UIExtension of Foxit PDF SDK for Web, is packaged separately into a JS file. The applications can load this addon as needed. This class defines the method templates what a UIXAddon needs to implement.
◆ afterMounted()
| UIXAddon::afterMounted |
( |
|
root | ) |
|
|
inline |
Lifecycle method: this method is called after the UI component element mout into DOM tree.
- Parameters
-
◆ beforeMounted()
| UIXAddon::beforeMounted |
( |
|
root | ) |
|
|
inline |
Lifecycle method: this hook is called before the UI component element mount into DOM tree.
- Parameters
-
◆ destroy()
Lifecycle method: to override this method to implement the destroying logics. This method is called when a PDFUI instance is destroyed or the addon is dettached from PDFUI.
- Returns
- Promise | void
◆ fragments()
◆ getI18NResources()
| UIXAddon::getI18NResources |
( |
| ) |
|
|
inline |
Get I18n resources. More details about I18Next, please visit: https://www.i18next.com/.
- Returns
- object
- format:
- { [language]: { [key]: value } }
◆ getName()
Returns the name of an addon.
@static
- Returns
- string
◆ init()
Called when initializing this addon.
- Parameters
-
◆ pdfViewerCreated()
| UIXAddon::pdfViewerCreated |
( |
|
pdfviewer | ) |
|
|
inline |
Lifecycle method: this method is called when PDFViewer instance has been created and is before the afterMounted method .
- Parameters
-