API reference: @salmonui/editors/image-editor
ImageEditorToolbarItemClickEventinterface
import type { ImageEditorToolbarItemClickEvent } from '@salmonui/editors/image-editor';interface ImageEditorToolbarItemClickEvent {
readonly id: string;
readonly source: ImageEditorInputSource;
readonly defaultPrevented: boolean;
preventDefault(): void;
}
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
source | readonly source: ImageEditorInputSource; | |
defaultPrevented | readonly defaultPrevented: boolean; | |
preventDefault | preventDefault(): void; | Skips the item's built-in action. |