FoxitPDFSDKforWeb
v10.0.0
Foxit PDF SDK for Web
|
component options in fragment config property. More...
Public Attributes | |
object | attrs |
This is the key-value pair object used to extend to component attributes, which is equivalent to declaring the attributes on the tag in the layout-template. More... | |
string | target |
target component name in template. This property is required when the action value equals to FRAGMENT_ACTION.EXT Examples: 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... | |
component options in fragment config property.
object FragmentComponentOptions::attrs |
This is the key-value pair object used to extend to component attributes, which is equivalent to declaring the attributes on the tag in the layout-template.
An example to add tooltip title on open-file-dropdown component:
string FragmentComponentOptions::target |
target component name in template. This property is required when the action value equals to FRAGMENT_ACTION.EXT
Examples: