GoScrobble/web/node_modules/dom-helpers/cjs/scrollLeft.js

19 lines
500 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _getScrollAccessor = _interopRequireDefault(require("./getScrollAccessor"));
/**
* Gets or sets the scroll left position of a given element.
*
* @param node the element
* @param val the position to set
*/
var _default = (0, _getScrollAccessor.default)('pageXOffset');
exports.default = _default;
module.exports = exports["default"];