onScrollCapture registers a scroll event listener, but also passes { capture: true } as the third argument to addEventListener (you can read about capture here: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
If they're provided by a library, why would MDN have it?
Обсуждают сегодня