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

Method activate

tools/mcsim/ControlsPane.js:98–101  ·  view source on GitHub ↗
(container, active)

Source from the content-addressed store, hash-verified

96
97class ButtonsRowBehavior extends ButtonBehavior {
98 activate(container, active) {
99 container.active = active;
100 this.onStateChanged(container);
101 }
102 onDisplaying(container) {
103 let data = this.data;
104 if ("active" in data)

Callers 1

onDisplayingMethod · 0.95

Calls 1

onStateChangedMethod · 0.45

Tested by

no test coverage detected