You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
请问
editor
和flow
支持的所有事件都有哪些?目前我的需求:
从左边
itempanel
面板拖拽某个元素至右侧编辑区时(该元素的id
被固定),判断当前编辑区是否存在id
一样的元素,若存在,则弹框告警,同时中止拖拽。所以我想是否存在「以拖拽方式新增元素」的事件,可以被我捕获到。
另外,目前
g6-editor
源码里已有类似「防重复id
」的处理,它会浏览器控制台触发 error。换个角度说,我是否也可以用try catch
捕获到 error 报错,然后插入我的弹框逻辑?The text was updated successfully, but these errors were encountered: