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

Method onCreate

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

Source from the content-addressed store, hash-verified

122 return (model.currentMachine == null) && (model.currentTab == 1);
123 }
124 onCreate(container) {
125 this.onMachineSelected(container, model.currentMachine, model.currentTab);
126 }
127 onMachineSelected(container, machine, tab) {
128 this.changeState(container, (machine == null) && (tab == 1) ? 0 : 1);
129 }

Callers

nothing calls this directly

Calls 1

onMachineSelectedMethod · 0.95

Tested by

no test coverage detected