View as Markdown

API reference: @salmonui/editors/image-editor

ImageEditorOperationtype

import type { ImageEditorOperation } from '@salmonui/editors/image-editor';
type ImageEditorOperation = 'crop' | 'rotate' | 'flip' | 'resize' | 'zoom' | 'pan' | 'annotation' | 'filter' | 'adjustment' | 'frame' | 'selection' | 'undo' | 'redo' | 'reset' | 'open';

Operations reported by the before / after callbacks and onEditComplete.