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

Method onCreate

tools/xsbug/TabsPane.js:154–156  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

152 return (model.currentMachine == null) && (model.currentTab == 3);
153 }
154 onCreate(container) {
155 this.onMachineSelected(container, model.currentMachine, model.currentTab);
156 }
157 onMachineSelected(container, machine, tab) {
158 this.changeState(container, (machine == null) && (tab == 3) ? 0 : 1);
159 }

Callers

nothing calls this directly

Calls 1

onMachineSelectedMethod · 0.95

Tested by

no test coverage detected