createToolbarItemFromItemDef MethodStatic
Deprecated in 4.15.0. Use ToolbarItemUtilities instead.
Helper method to creates a generic toolbar item entry.
createToolbarItemFromItemDef(itemPriority: number, itemDef: AnyItemDef, overrides?: Partial<CommonToolbarItemWithBadgeKind>): ToolbarItem
Parameter | Type | Description |
---|---|---|
itemPriority | number | |
itemDef | AnyItemDef | |
overrides | Partial<CommonToolbarItemWithBadgeKind> |
Returns - ToolbarItem
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.