MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / getExtraProp

Method getExtraProp

packages/shell/src/model/props.ts:66–68  ·  view source on GitHub ↗

* 获取指定 path 的属性模型实例, * 注:导出时,不同于普通属性,该属性并不挂载在 props 之下,而是与 props 同级 * @param path 属性路径,支持 a / a.b / a.0 等格式 * @returns

(path: string)

Source from the content-addressed store, hash-verified

64 * @returns
65 */
66 getExtraProp(path: string): IPublicModelProp | null {
67 return ShellProp.create(this[propsSymbol].getProp(getConvertedExtraKey(path)));
68 }
69
70 /**
71 * 获取指定 path 的属性模型实例值

Callers 2

getExtraPropValueMethod · 0.95
setExtraPropValueMethod · 0.95

Calls 3

getConvertedExtraKeyFunction · 0.85
getPropMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected