Source

dom/getScrollYFromElementOrWindow.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * Get scroll-Y number from either window object or HTML element
 *
 * @param el
 * @category dom
 * @module getScrollYFromElementOrWindow
 */
var getScrollYFromElementOrWindow = function (el) { return ((el === null || el === void 0 ? void 0 : el.scrollTop)
    || el.scrollY
    || 0); };
exports.default = getScrollYFromElementOrWindow;