MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / title

Method title

packages/core/src/document/node/node.ts:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66 @computed
67 get title() {
68 const t = this.getExtraProp('title')
69 if (t) {
70 const v = t.getAsString()
71 if (v) {
72 return v
73 }
74 }
75 return this.componentMeta.title
76 }
77
78 get icon() {
79 return this.componentMeta.icon

Callers

nothing calls this directly

Calls 2

getExtraPropMethod · 0.95
getAsStringMethod · 0.80

Tested by

no test coverage detected