MCPcopy Create free account
hub / github.com/brunosimon/keppler / setLoop

Method setLoop

site/src/javascript/Demo.js:62–72  ·  view source on GitHub ↗

* Set loop

()

Source from the content-addressed store, hash-verified

60 * Set loop
61 */
62 setLoop()
63 {
64 const loop = () =>
65 {
66 window.requestAnimationFrame(loop)
67
68 this.loop()
69 }
70
71 loop()
72 }
73
74 /**
75 * Loop

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected