mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
feat: add getComponentsMap() for DocumentModel
This commit is contained in:
parent
031c7f25f1
commit
f9566454ef
@ -186,6 +186,15 @@ export default class DocumentModel {
|
|||||||
this[documentSymbol].removeNode(idOrNode as any);
|
this[documentSymbol].removeNode(idOrNode as any);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* componentsMap of documentModel
|
||||||
|
* @param extraComps
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
getComponentsMap(extraComps?: string[]) {
|
||||||
|
return this[documentSymbol].getComponentsMap(extraComps);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 当前 document 新增节点事件
|
* 当前 document 新增节点事件
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user