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

Method drawYesNo

contributed/modClock/main.js:1033–1033  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

1031 drawOnOff(d) { 1 == d ? this.display.value(" on") : this.display.value(" off"); }
1032 draw2412(d) { 1 == d ? this.display.value(" 12") : this.display.value("24 "); }
1033 drawYesNo(d) { 1 == d ? this.display.value(" yes") : this.display.value(" no"); }
1034
1035 incrementSetting() {
1036 let b;

Callers 1

incrementSettingMethod · 0.95

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected