Interface: ToolbarActionEvent
Payload for the onToolbarAction callback that fires whenever the user taps a toolbar button. For built-in items (undo / redo / clear / copy) the native action has already been applied to the canvas; custom items only fire this event.
Properties
| Property | Type | Description |
|---|---|---|
action | string | Deprecated Alias of ToolbarActionEvent.id, kept for one release for backward compatibility. Use id instead. |
id | string | The tapped item's id (built-in action id or any custom id). |