You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.1 KiB

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.FlingGestureHandler = exports.flingHandlerName = exports.flingGestureHandlerProps = void 0;
var _createHandler = _interopRequireDefault(require("./createHandler"));
var _gestureHandlerCommon = require("./gestureHandlerCommon");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const flingGestureHandlerProps = ['numberOfPointers', 'direction'];
exports.flingGestureHandlerProps = flingGestureHandlerProps;
const flingHandlerName = 'FlingGestureHandler';
exports.flingHandlerName = flingHandlerName;
// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file
const FlingGestureHandler = (0, _createHandler.default)({
name: flingHandlerName,
allowedProps: [..._gestureHandlerCommon.baseGestureHandlerProps, ...flingGestureHandlerProps],
config: {}
});
exports.FlingGestureHandler = FlingGestureHandler;
//# sourceMappingURL=FlingGestureHandler.js.map