MCPcopy
hub / github.com/alibaba/lowcode-engine / node

Method node

packages/shell/src/model/prop.ts:45–47  ·  view source on GitHub ↗

* 返回所属的节点实例

()

Source from the content-addressed store, hash-verified

43 * 返回所属的节点实例
44 */
45 get node(): IPublicModelNode | null {
46 return ShellNode.create(this[propSymbol].getNode());
47 }
48
49 /**
50 * return the slot node (only if the current prop represents a slot)

Callers

nothing calls this directly

Calls 2

getNodeMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected