@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) • 694 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.autoScrollWindowForTextSelection = exports.autoScrollForTextSelection = void 0;
var _monitorForTextSelection = require("@atlaskit/pragmatic-drag-and-drop/adapter/monitor-for-text-selection");
var _makeApi = require("../over-element/make-api");
var api = (0, _makeApi.makeApi)({
monitor: _monitorForTextSelection.monitorForTextSelection
});
var autoScrollForTextSelection = exports.autoScrollForTextSelection = api.autoScroll;
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
var autoScrollWindowForTextSelection = exports.autoScrollWindowForTextSelection = api.autoScrollWindow;