Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/index.ts>dom.MSGestureEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.MSGestureEvent
implements UIEvent
import { type dom } from "https://deno.land/x/evt@v2.4.7/lib/index.ts";
const { MSGestureEvent } = dom;

The MSGestureEvent is a proprietary interface specific to Internet Explorer and Microsoft Edge which represents events that occur due to touch gestures. Events using this interface include MSGestureStart, MSGestureEnd, MSGestureTap, MSGestureHold, MSGestureChange, and MSInertiaStart.

Properties

readonly
clientX: number
readonly
clientY: number
readonly
expansion: number
readonly
gestureObject: any
readonly
hwTimestamp: number
readonly
offsetX: number
readonly
offsetY: number
readonly
rotation: number
readonly
scale: number
readonly
screenX: number
readonly
screenY: number
readonly
translationX: number
readonly
translationY: number
readonly
velocityAngular: number
readonly
velocityExpansion: number
readonly
velocityX: number
readonly
velocityY: number
readonly
MSGESTURE_FLAG_BEGIN: number
readonly
MSGESTURE_FLAG_CANCEL: number
readonly
MSGESTURE_FLAG_END: number
readonly
MSGESTURE_FLAG_INERTIA: number
readonly
MSGESTURE_FLAG_NONE: number

Methods

initGestureEvent(
typeArg: string,
canBubbleArg: boolean,
cancelableArg: boolean,
viewArg: Window,
detailArg: number,
screenXArg: number,
screenYArg: number,
clientXArg: number,
clientYArg: number,
offsetXArg: number,
offsetYArg: number,
translationXArg: number,
translationYArg: number,
scaleArg: number,
expansionArg: number,
rotationArg: number,
velocityXArg: number,
velocityYArg: number,
velocityExpansionArg: number,
velocityAngularArg: number,
hwTimestampArg: number,
): void