Configuration object for defining new toolbar custom control
Extends
Properties
class
readonly
class: string
Inherited from
IToolbarControlConfig
.class
disable()?
readonly
optional
disable: () => void
Optional - override method to disable the toolbar control. This method gets called when a toolbar containing the control
gets disabled during navigation. If the control needs to do additional sync/async taks (e.x checking on user permission)
before disabling, use this to override the default behavior.
Returns
void
Inherited from
IToolbarControlConfig
.disable
enable()?
readonly
optional
enable: () => void
Optional - override method to enable the toolbar control. This method gets called when a toolbar containing the control
gets enabled during navigation. If the control needs to do additional sync/async taks (e.x checking on user permission)
before enabling, use this to override the default behavior.
Returns
void
Inherited from
IToolbarControlConfig
.enable
enableOnCreation?
readonly
optional
enableOnCreation: boolean
Inherited from
IToolbarControlConfig
.enableOnCreation
icon
readonly
icon: string
id
readonly
id: string
Inherited from
IToolbarControlConfig
.id
onClick()
onClick: () => any
Returns
any
permissionCheck?
readonly
optional
permissionCheck: IPermissionCheckRequest
| IPermissionCheckRequest
[]
Inherited from
IToolbarControlConfig
.permissionCheck
theme
readonly
theme: string
title
readonly
title: string
Inherited from
IToolbarControlConfig
.title
type
readonly
type: ToolbarControlType
Inherited from
IToolbarControlConfig
.type
wrapperClass
readonly
wrapperClass: string