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

Method onDisplaying

examples/piu/cards/main.js:79–84  ·  view source on GitHub ↗
(layout)

Source from the content-addressed store, hash-verified

77 anchors[i].string = person[i];
78 }
79 onDisplaying(layout) {
80 if (application.height != 320 || application.width != 240)
81 trace("WARNING: This application was designed to run on a 240x320 screen.\n");
82 this.resetTimeline(layout);
83 layout.start();
84 }
85 onFinished(layout) {
86 this.reverse = !this.reverse;
87 if (!this.reverse) {

Callers

nothing calls this directly

Calls 2

resetTimelineMethod · 0.80
startMethod · 0.65

Tested by

no test coverage detected