# ImageEditorToolbarItemClickEvent (@salmonui/editors/image-editor)

> The ImageEditorToolbarItemClickEvent interface of @salmonui/editors/image-editor.

Canonical: https://salmonui.dev/docs/reference/editors/image-editor/ImageEditorToolbarItemClickEvent

```ts
import type { ImageEditorToolbarItemClickEvent } from '@salmonui/editors/image-editor';
```

Entry index: https://salmonui.dev/docs/reference/editors/image-editor (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/editors/image-editor.md).

## Reference

Kind: interface

```ts
interface ImageEditorToolbarItemClickEvent {
    readonly id: string;
    readonly source: ImageEditorInputSource;
    readonly defaultPrevented: boolean;
    preventDefault(): void;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `source` | `readonly source: ImageEditorInputSource;` |  |  |
| `defaultPrevented` | `readonly defaultPrevented: boolean;` |  |  |
| `preventDefault` | `preventDefault(): void;` |  | Skips the item's built-in action. |
