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

Function getWindowScrollingElement

src/utils.js:149–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147
148
149function getWindowScrollingElement() {
150 let scrollingElement = document.scrollingElement;
151
152 if (scrollingElement) {
153 return scrollingElement
154 } else {
155 return document.documentElement
156 }
157}
158
159
160/**

Callers 5

Sortable.jsFile · 0.90
getRectFunction · 0.70
isScrolledPastFunction · 0.70
getRelativeScrollOffsetFunction · 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…