UNPKG

@mui/x-internal-gestures

Version:

The core engine of GestureEvents, a modern and robust multi-pointer gesture detection library for JavaScript.

24 lines (23 loc) 718 B
import _extends from "@babel/runtime/helpers/esm/extends"; import { Gesture } from "../../core/index.js"; export class MockBadUpdateOptionsGesture extends Gesture { constructor(...args) { super(...args); this.state = {}; this.isSinglePhase = void 0; this.eventType = void 0; this.optionsType = void 0; this.mutableOptionsType = void 0; this.mutableStateType = void 0; } // eslint-disable-next-line class-methods-use-this resetState() {} clone(overrides) { return new MockBadUpdateOptionsGesture(_extends({ name: this.name }, overrides)); } // We remove the updateOptions implementation // eslint-disable-next-line class-methods-use-this updateOptions() {} }