createToolbarItemsFromItemDefs MethodStatic

Deprecated  in 4.15.0. Use ToolbarItemUtilities instead.

Helper method to creates a generic toolbar item entry list.

createToolbarItemsFromItemDefs(itemDefs: AnyItemDef[], startingItemPriority: number10, overrides?: Partial<CommonToolbarItemWithBadgeKind>): ToolbarItem[]

Parameter Type Description
itemDefs AnyItemDef[]  
startingItemPriority number  
overrides Partial<CommonToolbarItemWithBadgeKind>  

Returns - ToolbarItem[]

Defined in

Last Updated: 20 November, 2024