FoxitPDFSDKforWeb  7.1.1
Foxit PDF SDK for Web
ComponentOptions Interface Reference

An interface that describes all basic configuration options of a component. More...

Inheritance diagram for ComponentOptions:
ButtonComponentOptions DropdownComponentOptions FormFieldComponentOptions FragmentComponentOptions GroupComponentOptions LayerComponentOptions LayerHeaderComponentOptions SidebarPanelComponentOptions TabItemComponentOptions

Public Attributes

boolean active = false
 Initial activation state. More...
 
boolean canBeDisabled =false
 Wheher or not this component can be disabled, if true, disable method will be not working. More...
 
boolean disabled =false
 initial disable state More...
 
boolean visible = true
 Initial visibility state, if false, this component will be not displaying on screen after mounted. More...
 

Detailed Description

An interface that describes all basic configuration options of a component.

Note
All configuration options take higher priority than template configuration, It is usefull when you want to override configuration options. For example:
new PDFUI({
// ... other options
fragments: [{
target: 'some-container-component-name',
action: UIExtension.UIConsts.FRAGMENT_ACTION.APPEND,
template: '<xbutton name="button-component">button.mybutton</xbutton>'
}, {
target: 'button-component',
config: {
text: 'button.overridebuttontext'
}
}]
})
The text content of 'button-component' will be set to 'button.overridebuttontext'.
Since
7.0.0

Member Data Documentation

◆ active

boolean ComponentOptions::active = false

Initial activation state.

See also
Component.active
Component.deactive
Since
7.0.0

◆ canBeDisabled

boolean ComponentOptions::canBeDisabled =false

Wheher or not this component can be disabled, if true, disable method will be not working.

Since
7.0.0

◆ disabled

boolean ComponentOptions::disabled =false

initial disable state

Since
7.0.0

◆ visible

boolean ComponentOptions::visible = true

Initial visibility state, if false, this component will be not displaying on screen after mounted.

Since
7.0.0

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