FoxitPDFSDKforWeb  7.1.1
Foxit PDF SDK for Web
Controller Class Reference
Inheritance diagram for Controller:
StatefulController

Public Member Functions

 constructor (component)
 
 getComponentByName (name)
 
 handle (...args)
 

Protected Member Functions

 getPDFUI ()
 
 mounted ()
 This method is called after the component is inserted into DOM tree, where you can add some event listeners to the component or handle any other tasks. More...
 
 postlink ()
 This method is called during component postlink lifecycle. More...
 
 prelink ()
 This method is called during component prelink lifecycle. More...
 

Protected Attributes

Component component
 The component of this controller. More...
 

Detailed Description

Since
7.0.0

Member Function Documentation

◆ constructor()

Controller::constructor (   component)
inline
Parameters
componentComponent

◆ getComponentByName()

Controller::getComponentByName (   name)
inline

Find a component which name matches the specific string from root comonent.

See also
Component.getComponentByName
Parameters
name

◆ getPDFUI()

Controller::getPDFUI ( )
inlineprotected

Get the PDFUI instance which generates this controller.

◆ handle()

Controller::handle (   args)
inline

This method is triggered by the component during user interaction. Such as click button or a file selected by user via file selector component.

◆ mounted()

mounted ( )
inlineprotected

This method is called after the component is inserted into DOM tree, where you can add some event listeners to the component or handle any other tasks.

See also
Component.mounted

◆ postlink()

Controller::postlink ( )
inlineprotected

This method is called during component postlink lifecycle.

See also
Component.postlink

◆ prelink()

Controller::prelink ( )
inlineprotected

This method is called during component prelink lifecycle.

See also
Component.prelink

Member Data Documentation

◆ component

Component Controller::component
protected

The component of this controller.

Since
7.0.0

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