UNPKG

@atlaskit/pragmatic-drag-and-drop-auto-scroll

Version:

An optional Pragmatic drag and drop package that enables automatic scrolling during a drag operation

9 lines (8 loc) • 220 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isAxisAllowed = isAxisAllowed; function isAxisAllowed(axis, allowedAxis) { return allowedAxis === 'all' || axis === allowedAxis; }