| FoxitPDFSDKforWeb v11.1.0 Archives Foxit PDF SDK for Web

Public Attributes | List of all members
ButtonComponentOptions Interface Reference
UIExtension » components » options

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

Inheritance diagram for ButtonComponentOptions:

## 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

@2026 Foxit Software Incorporated. All rights reserved.