import{aw as t,y as r,z as a,b0 as o}from"./chunks/framework.BCBheFgR.js";const p=JSON.parse('{"title":"editorService事件","description":"","frontmatter":{},"headers":[],"relativePath":"api/editor/editorServiceEvents.md","filePath":"api/editor/editorServiceEvents.md"}'),i={name:"api/editor/editorServiceEvents.md"};function c(d,e,n,s,l,h){return a(),r("div",null,e[0]||(e[0]=[o('
详情: dsl跟节点发生变化,editorService.set('root', {})后触发
详情: 选中组件,editorService.select()后触发
回调函数: (node: MNode) => void
详情: 选中组件,editorService.add()后触发
回调函数: (node: MNode[]) => void
详情: 选中组件,editorService.remove()后触发
回调函数: (node: MNode[]) => void
详情: 选中组件,editorService.update()后触发
回调函数: (node: MNode[]) => void
详情: 历史记录改变,editorService.redo(),editorService.undo()后触发
回调函数: (node: MNode) => void