UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

18 lines (16 loc) 520 B
/** * DevExtreme (cjs/__internal/ui/scroll_view/utils/get_scroll_top_max.js) * Version: 24.2.6 * Build date: Mon Mar 17 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getScrollTopMax = getScrollTopMax; function getScrollTopMax(element) { return element.scrollHeight - element.clientHeight }