MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / scheduleResize

Method scheduleResize

src/client/sandbox.mjs:67–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 this.frame.addEventListener("load", resize)
66 let resizeTimeout = null
67 const scheduleResize = () => {
68 this.win.clearTimeout(resizeTimeout)
69 this.win.__setTimeout(resize, 200)
70 }
71 this.win.addEventListener("keydown", scheduleResize)
72 this.win.addEventListener("mousedown", scheduleResize)
73 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected