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

> The ImageEditorEvent interface of @salmonui/editors/image-editor: After-callback payload: the value before and after the operation.

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

```ts
import type { ImageEditorEvent } 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 ImageEditorEvent<T> {
    readonly operation: ImageEditorOperation;
    readonly previous: T;
    readonly value: T;
    readonly source: ImageEditorInputSource;
    readonly action?: 'add' | 'update' | 'delete' | 'clone' | 'reorder' | undefined;
}
```

After-callback payload: the value before and after the operation.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `operation` | `readonly operation: ImageEditorOperation;` |  |  |
| `previous` | `readonly previous: T;` |  |  |
| `value` | `readonly value: T;` |  |  |
| `source` | `readonly source: ImageEditorInputSource;` |  |  |
| `action` | `readonly action?: 'add' \| 'update' \| 'delete' \| 'clone' \| 'reorder' \| undefined;` | optional | Annotation operations: what happened. |
