@atlaskit/pragmatic-drag-and-drop-auto-scroll
Version:
An optional Pragmatic drag and drop package that enables automatic scrolling during a drag operation
14 lines (13 loc) • 630 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.autoScrollWindowForElements = exports.autoScrollForElements = void 0;
var _elementAdapter = require("@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter");
var _makeApi = require("../over-element/make-api");
var api = (0, _makeApi.makeApi)({
monitor: _elementAdapter.monitorForElements
});
var autoScrollForElements = exports.autoScrollForElements = api.autoScroll;
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
var autoScrollWindowForElements = exports.autoScrollWindowForElements = api.autoScrollWindow;