FoxitPDFSDKforWeb v10.0.0
Foxit PDF SDK for Web
UIAppearance Class Reference

An appearance like a packed theme. It provides a layout template and also allows to do things related to UE in beforeMounted or afterMounted method. When the layout template is rewritten, it is best to inherit this class and override the disableAll and enableAll methods to handle associated logic. More...

Inheritance diagram for UIAppearance:
Appearance Disposable MobileAppearance RibbonAppearance

Public Member Functions

 afterMounted (root)
 A lifecycle method, will allways be called after root component mounted into DOM tree. More...
 
- Public Member Functions inherited from Appearance
 afterMounted (root)
 A lifecycle method, will allways be called after root component mounted into DOM tree. More...
 
 beforeMounted (root)
 A lifecycle method, will allways be called before root component mounted into DOM tree. More...
 
- Public Member Functions inherited from Disposable
 addDestroyHook (...hooks)
 
 destroy ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Appearance
static extend (proto, statics)
 Extends from Appearance class and generates a customize appearance! More...
 
- Protected Member Functions inherited from Appearance
 disableAll ()
 A method to disable those components that are activated only when the current PDF document is displayed.. It's called when the PDFViewCtrl.constants.ViewerEvents.willCloseDocument event is triggerred.
 
 enableAll ()
 A method to enable those components that are disabled by calling disableAll() method. It's called when the PDFViewCtrl.constants.ViewerEvents.openFileSuccess event is triggerred.
 
 getDefaultFragments ()
 UI fragments array, defines serveral UI components and business logics. More...
 
 getLayoutTemplate ()
 A method provides a layout template. More...
 

Detailed Description

An appearance like a packed theme. It provides a layout template and also allows to do things related to UE in beforeMounted or afterMounted method. When the layout template is rewritten, it is best to inherit this class and override the disableAll and enableAll methods to handle associated logic.

Member Function Documentation

◆ afterMounted()

UIAppearance::afterMounted (   root)
inline

A lifecycle method, will allways be called after root component mounted into DOM tree.

Parameters
rootComponent

Foxit Software Corporation Logo
@2024 Foxit Software Incorporated. All rights reserved.