Skip to content

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 ​

PropertyTypeDescription
actionstringDeprecated Alias of ToolbarActionEvent.id, kept for one release for backward compatibility. Use id instead.
idstringThe tapped item's id (built-in action id or any custom id).

Released under the MIT License.