createActionItem MethodStatic

Beta  @deprecated Use BackstageItemUtilities.createActionItem in bentley/ui-abstract instead

Creates an action backstage item

createActionItem(itemId: string, groupPriority: number, itemPriority: number, execute: () => void, label: string, subtitle?: string, iconSpec?: string, overrides?: Partial<BackstageActionItem>): BackstageActionItem

Parameter Type Description
itemId string  
groupPriority number  
itemPriority number  
execute () => void  
label string  
subtitle string  
iconSpec string  
overrides Partial<BackstageActionItem>  

Returns - BackstageActionItem

Defined in

Last Updated: 12 June, 2024