Vizel API / core/src / createVizelBubbleMenuActions
Function: createVizelBubbleMenuActions()
ts
function createVizelBubbleMenuActions(locale?): VizelBubbleMenuAction[];Defined in: packages/core/src/toolbar/actions.ts:402
Create bubble-menu actions with locale-specific labels.
Mirrors createVizelToolbarActions. Consumers that want to add or filter actions can .filter / .concat on the returned array; the built-in set is exposed as vizelDefaultBubbleMenuActions for the pure-default case.
locale is optional — when undefined, the actions keep their built-in English labels (suitable for components that allow consumers to omit a locale entirely).
Parameters
| Parameter | Type |
|---|---|
locale? | VizelLocale |