MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / overflowAutoOrScroll

Function overflowAutoOrScroll

scripts/smoothScroll.js:677–679  ·  view source on GitHub ↗
(el, x)

Source from the content-addressed store, hash-verified

675 }
676 // for all other elements
677 function overflowAutoOrScroll(el, x) {
678 return /^(scroll|auto)$/.test(computedOverflow(el, x));
679 }
680 // for all other elements
681 function isScrollBehaviorSmooth(el) {
682 let id = uniqueID(el);

Callers 1

overflowingAncestorFunction · 0.85

Calls 1

computedOverflowFunction · 0.85

Tested by

no test coverage detected