You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

382 B

实例 API

使用方式

import Editor from "@hufe921/canvas-editor"

const instance = new Editor(container, <IElement[]>data, options)
instance.apiName()

destroy

功能:销毁编辑器

用法:

instance.destroy()

::: warning 仅销毁编辑器 dom 及相关事件,菜单栏、工具栏、外部变量等需自行处理。 :::