createCustomDefinitionToolbarItem MethodStatic
Deprecated in 4.15.0. Use ToolbarItemUtilities.createCustomItem
instead.
Construct ToolbarCustomItem definitions given a CustomItemDef.
createCustomDefinitionToolbarItem(itemPriority: number, itemDef: CustomItemDef, overrides?: Partial<CustomButtonDefinition & { badgeKind?: BadgeKind }>): ToolbarCustomItem
Parameter | Type | Description |
---|---|---|
itemPriority | number | |
itemDef | CustomItemDef | |
overrides | Partial<CustomButtonDefinition & { badgeKind?: BadgeKind }> |
Returns - ToolbarCustomItem
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.