View as Markdown

API reference: @salmonui/editors/image-editor

ImageEditorToolbarItemIdtype

import type { ImageEditorToolbarItemId } from '@salmonui/editors/image-editor';
type ImageEditorToolbarItemId = 'open' | 'undo' | 'redo' | 'reset' | 'zoomIn' | 'zoomOut' | 'pan' | 'select' | 'crop' | 'rotateLeft' | 'rotateRight' | 'flipHorizontal' | 'flipVertical' | 'straighten' | 'resize' | 'adjust' | 'filter' | 'frame' | ImageEditorAnnotationKind | 'save';

Built-in toolbar items.