MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / windowResize

Function windowResize

src/handlers/windowResize.js:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 */
26
27export default function windowResize() {
28 if (!resizeTimeout) {
29 emit("resizeStart");
30 }
31
32 clearTimeout(resizeTimeout);
33 resizeTimeout = setTimeout(onResize, 100);
34}
35
36/**
37 * Add event listener for window done resizing.

Callers

nothing calls this directly

Calls 1

emitFunction · 0.70

Tested by

no test coverage detected