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: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.