Interface: IToolbarRWCButtonControlConfig

Configuration object for defining new toolbar custom control

Extends

Properties

class

readonlyclass: string

Inherited from

IToolbarControlConfig.class


disable()?

readonlyoptionaldisable: () => 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()?

readonlyoptionalenable: () => 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?

readonlyoptionalenableOnCreation: boolean

Inherited from

IToolbarControlConfig.enableOnCreation


icon

readonlyicon: string


id

readonlyid: string

Inherited from

IToolbarControlConfig.id


onClick()

onClick: () => any

Returns

any


permissionCheck?

readonlyoptionalpermissionCheck: IPermissionCheckRequest | IPermissionCheckRequest[]

Inherited from

IToolbarControlConfig.permissionCheck


theme

readonlytheme: string


title

readonlytitle: string

Inherited from

IToolbarControlConfig.title


type

readonlytype: ToolbarControlType

Inherited from

IToolbarControlConfig.type


wrapperClass

readonlywrapperClass: string