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