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

Method value

contributed/modClock/sevenseg.js:218–226  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

216 }
217
218 value(val) {
219 if (undefined === val) {
220 this.userValue = undefined;
221 this.blinkSpeed = 0;
222 }
223 else
224 this.userValue = (" " + val.toString().toLowerCase()).slice(-4);
225 return this;
226 }
227
228 get timeShowing() { return this.userValue === undefined; }
229

Callers 14

constructorMethod · 0.45
connectMethod · 0.45
connectedMethod · 0.45
configAPMethod · 0.45
showModeMethod · 0.45
drawHoursMethod · 0.45
draw10MinMethod · 0.45
drawMinMethod · 0.45
drawOnOffMethod · 0.45
draw2412Method · 0.45
drawYesNoMethod · 0.45
incrementSettingMethod · 0.45

Calls 2

sliceMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected