Files
discord-decomp/_bundle/FlingGesture.js
T
2026-11-01 12:12:55 +02:00

43 lines
1.4 KiB
JavaScript

// Metro module 5329 (f5330).
import _classCallCheck from "./_classCallCheck";
import _createClass from "./_createClass";
import _possibleConstructorReturn from "./_possibleConstructorReturn";
import _getPrototypeOf from "./_getPrototypeOf";
import _inherits from "./_inherits";
import { BaseGesture } from "./Gesture";
let FlingGesture;
let env3231 = {};
env3231[3] = function _isNativeReflectConstruct() {
let c14803_0;
try {
c14803_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
} catch ($e) {}
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
return !!c14803_0;
};
env3231[3] = _isNativeReflectConstruct2;
return _isNativeReflectConstruct2();
};
FlingGesture = function FlingGesture() {
_classCallCheck(this, FlingGesture);
const r8 = _getPrototypeOf(FlingGesture);
const r20 = _possibleConstructorReturn(this, (0, env3231[3])() ? Reflect.construct(r8, [], _getPrototypeOf(this).constructor) : r8.apply(this, void 0));
r20.config = {};
r20.handlerName = "FlingGestureHandler";
return r20;
};
_inherits(FlingGesture, BaseGesture);
exports.FlingGesture = _createClass(FlingGesture, [{
key: "numberOfPointers",
value: function numberOfPointers(a0) {
this.config.numberOfPointers = a0;
return this;
}
}, {
key: "direction",
value: function direction(a0) {
this.config.direction = a0;
return this;
}
}]);