View as Markdown

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;
}
ImageEditorToolbarItemClickEvent members (4)
NameSignatureDescription
idreadonly id: string;
sourcereadonly source: ImageEditorInputSource;
defaultPreventedreadonly defaultPrevented: boolean;
preventDefaultpreventDefault(): void;

Skips the item's built-in action.