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

Method onMachineChanged

tools/xsbug/DebugPane.js:115–118  ·  view source on GitHub ↗
(container, machine)

Source from the content-addressed store, hash-verified

113 this.do = "do" + container.name;
114 }
115 onMachineChanged(container, machine) {
116 container.active = this.data[this.can]();
117 this.changeState(container, container.active ? 1 : 0);
118 }
119 onMachineSelected(container, machine) {
120 container.active = this.data[this.can]();
121 this.changeState(container, container.active ? 1 : 0);

Callers

nothing calls this directly

Calls 1

changeStateMethod · 0.45

Tested by

no test coverage detected