Interface MultiModalOptions

interface MultiModalOptions {
    config?: Partial<RpEditorConfig>;
    images: RpImageSource[];
    onApply?: ((results) => void);
    onClose?: (() => void);
    startIndex?: number;
}

Properties

config?: Partial<RpEditorConfig>

Editor config shared by every image. currentImageIndex and totalImages are set for you.

images: RpImageSource[]

The images to edit, in strip order.

onApply?: ((results) => void)

Type declaration

onClose?: (() => void)

Type declaration

    • (): void
    • Returns void

startIndex?: number

0-based index of the image to open first. Default 0.