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

Method onBubblesChanged

tools/xsbug/MessagePane.js:225–228  ·  view source on GitHub ↗
(button)

Source from the content-addressed store, hash-verified

223 IconButton($, { top:0, variant:5, active:true, visible:false,
224 Behavior: class extends ButtonBehavior {
225 onBubblesChanged(button) {
226 button.active = model.canClearAllBubbles();
227 this.changeState(button, button.active ? 1 : 0);
228 }
229 onTap(button) {
230 model.doClearAllBubbles();
231 }

Callers

nothing calls this directly

Calls 1

changeStateMethod · 0.45

Tested by

no test coverage detected