Specification to define properties for toolbar component.
Properties:
Name | Type | Argument | Default | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
type |
string |
|
||||||||||||||||||
name |
string |
<optional> |
the name identifier of this component |
|||||||||||||||||
title |
string |
<optional> |
tab title |
|||||||||||||||||
tip |
string |
<optional> |
tooltip title. this property is only available for |
|||||||||||||||||
tipdesc |
string |
<optional> |
tooltip content. this property is only available for |
|||||||||||||||||
text |
string |
<optional> |
button text. this property is only available for |
|||||||||||||||||
cls |
string |
<optional> |
button's class |
|||||||||||||||||
iconCls |
string |
<optional> |
button's icon class |
|||||||||||||||||
layout |
string |
<optional> |
no | layout of |
||||||||||||||||
template |
string |
<optional> |
template content , this property is only available for |
|||||||||||||||||
handler |
function | string | handler of this component. |
||||||||||||||||||
events |
object |
<optional> |
component events Properties
|
|||||||||||||||||
extend |
string |
<optional> |
the name of default configuration |
|||||||||||||||||
sub |
Array.<WebPDF.Toolbar.ComponentConfiguration> |
<optional> |
sub components. this property is only available for |
|||||||||||||||||
groups |
Array.<WebPDF.Toolbar.ComponentConfiguration> |
<optional> |
groups , this property is only available for |
|||||||||||||||||
orientation |
string |
<optional> |
'horizontal' | orientation of flow layout. This property is only available for 'flow' type layout. |
||||||||||||||||
permissions |
Array.<string> |
<optional> |
permission name. |
|||||||||||||||||
params |
object |
<optional> |
params for handler |
Type Definitions
-
handleEventCallback(component, config, data)
-
Parameters:
Name Type Description component
WebPDF.Toolbar.Component config
WebPDF.Toolbar.ComponentConfiguration data
any -
tabactiveEventCallback(event, activeTab, lastActiveTab)
-
Parameters:
Name Type Description event
object activeTab
object lastActiveTab
object