FoxitPDFSDKforWeb  v10.0.0
Foxit PDF SDK for Web
ButtonComponentOptions Interface Reference

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

Inheritance diagram for ButtonComponentOptions:
ComponentOptions

Public Attributes

string iconCls = ''
 CSS class name for the icon of this button
attribute name in layout-template: icon-class. More...
 
string text = ''
 Text content of a button, supports I18Next key. More...
 
- Public Attributes inherited from ComponentOptions
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.
attribute name in layout-template: can-be-disabled. More...
 
string cls = ''
 Specific a class attribute for the root element of a component.
In the fragment config, it is writtern like this:

new PDFUI({
fragments:[{
target: 'your component name',
config: {
cls: 'your-custom-css-class'
}
},...]
})

and in layout-template, it's writtern like the this:

<component-type class="your-custom-css-class">
</component-type>

. 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 configuration options of a button component.

Since
7.0.0

Member Data Documentation

◆ iconCls

string iconCls = ''

CSS class name for the icon of this button
attribute name in layout-template: icon-class.

Since
7.0.0

◆ text

string text = ''

Text content of a button, supports I18Next key.

Since
7.0.0

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