MCPcopy Create free account
hub / github.com/bvaughn/react-window / createElement

Function createElement

lib/hooks/useIsScrolling.test.ts:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 });
11
12 function createElement() {
13 element = document.createElement("div");
14 document.body.appendChild(element);
15 return element;
16 }
17
18 // Remove the event handler property (from whichever prototype defines it) for browsers without scrollend support
19 function simulateNoScrollEndSupport() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected