ToolbarItemUtilities.createActionItem Function

Creates an Action Button

createActionItem(id: string, itemPriority: number, icon: string | ConditionalStringValue, label: string | ConditionalStringValue, execute: () => void, overrides?: Partial<ActionButton>): ToolbarActionItem

Parameter Type Description
id string  
itemPriority number  
icon string | ConditionalStringValue  
label string | ConditionalStringValue  
execute () => void  
overrides Partial<ActionButton>  

Returns - ToolbarActionItem

Defined in

Last Updated: 20 June, 2023