Skip to main content

Class: CanvicoEditor

Constructors

Constructor

new CanvicoEditor(config): CanvicoEditor

Creates an instance of CanvasImageEditor.

Parameters

config

CanvicoEditorConfig

The configuration object for the editor.

Returns

CanvicoEditor

Throws

If a required feature like FileReader is not supported by the browser.

Methods

destroy()

destroy(): void

Cleans up all resources, event listeners, and modules to safely remove the editor instance.

Returns

void