MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / adopt

Function adopt

lib/utils/test/scrollElement.ts:238–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 element,
237 contentAbove,
238 adopt() {
239 element.appendChild(getMountNode());
240 },
241 setContentOffset(offset) {
242 contentAbove.style.height = `${offset}px`;
243 },

Callers

nothing calls this directly

Calls 1

getMountNodeFunction · 0.90

Tested by

no test coverage detected