FoxitPDFSDKforWeb
v10.0.0
Foxit PDF SDK for Web
|
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...
Public Member Functions | |
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 () | |
Static Public Member Functions | |
static | extend (proto, statics) |
Extends from Appearance class and generates a customize appearance! More... | |
Protected Member Functions | |
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... | |
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.
|
inline |
A lifecycle method, will allways be called after root component mounted into DOM tree.
root | Component |
|
inline |
A lifecycle method, will allways be called before root component mounted into DOM tree.
root | Component |
|
inlinestatic |
Extends from Appearance class and generates a customize appearance!
prototype | object - Appearance.prototype |
[statics] | object - static members |
|
inlineprotected |
UI fragments array, defines serveral UI components and business logics.
|
inlineprotected |
A method provides a layout template.