MCPcopy Index your code
hub / github.com/SortableJS/Sortable / getWindowScrollingElement

Function getWindowScrollingElement

modular/sortable.core.esm.js:231–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229 return [];
230}
231function getWindowScrollingElement() {
232 var scrollingElement = document.scrollingElement;
233 if (scrollingElement) {
234 return scrollingElement;
235 } else {
236 return document.documentElement;
237 }
238}
239
240/**
241 * Returns the "bounding client rect" of given element

Callers 6

getRectFunction · 0.70
isScrolledPastFunction · 0.70
getRelativeScrollOffsetFunction · 0.70
AutoScrollPluginFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…