MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / setText

Method setText

contributed/jsonparser/jsonparser.js:238–241  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

236
237 // Sets the text property of the current node and invokes 'setup'.
238 setText(text) {
239 this.node.text = text;
240 this.doEvent("onSetup");
241 }
242}
243
244class JSONTree extends VPT {

Callers

nothing calls this directly

Calls 1

doEventMethod · 0.95

Tested by

no test coverage detected