mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
1.4 KiB
1.4 KiB
editorService事件
root-change
-
详情: dsl跟节点发生变化,editorService.set('root', {})后触发
-
回调函数: (value: MApp => void
select
-
详情: 选中组价,editorService.select()后触发
-
回调函数: (node: MNode) => void
add
-
详情: 选中组价,editorService.add()后触发
-
回调函数: (node: MNode[]) => void
remove
-
详情: 选中组价,editorService.remove()后触发
-
回调函数: (node: MNode[]) => void
update
-
详情: 选中组价,editorService.update()后触发
-
回调函数: (node: MNode[]) => void