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

Method onDataChanged

tools/mcsim/ControlsPane.js:248–252  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

246 super.onDisplaying(container);
247 }
248 onDataChanged(container) {
249 super.onDataChanged(container);
250 let data = this.data;
251 container.next.string = data.value + data.unit;
252 }
253 },
254 }),
255 Label($, { left:0, right:0, style:styles.controlValue, string:$.value + $.unit }),

Callers 2

activateMethod · 0.45
onDisplayingMethod · 0.45

Calls 1

findMethod · 0.80

Tested by

no test coverage detected