|
|
|
@ -23,30 +23,30 @@ export const POINTER_BUTTON = {
|
|
|
|
|
WHEEL: 1,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum EVENT {
|
|
|
|
|
BEFORE_UNLOAD = "beforeunload",
|
|
|
|
|
BLUR = "blur",
|
|
|
|
|
COPY = "copy",
|
|
|
|
|
CUT = "cut",
|
|
|
|
|
DRAG_OVER = "dragover",
|
|
|
|
|
DROP = "drop",
|
|
|
|
|
GESTURE_CHANGE = "gesturechange",
|
|
|
|
|
GESTURE_END = "gestureend",
|
|
|
|
|
GESTURE_START = "gesturestart",
|
|
|
|
|
HASHCHANGE = "hashchange",
|
|
|
|
|
KEYDOWN = "keydown",
|
|
|
|
|
KEYUP = "keyup",
|
|
|
|
|
MOUSE_MOVE = "mousemove",
|
|
|
|
|
PASTE = "paste",
|
|
|
|
|
POINTER_MOVE = "pointermove",
|
|
|
|
|
POINTER_UP = "pointerup",
|
|
|
|
|
RESIZE = "resize",
|
|
|
|
|
STATE_CHANGE = "statechange",
|
|
|
|
|
TOUCH_END = "touchend",
|
|
|
|
|
TOUCH_START = "touchstart",
|
|
|
|
|
UNLOAD = "unload",
|
|
|
|
|
WHEEL = "wheel",
|
|
|
|
|
}
|
|
|
|
|
export const EVENT = {
|
|
|
|
|
BEFORE_UNLOAD: "beforeunload",
|
|
|
|
|
BLUR: "blur",
|
|
|
|
|
COPY: "copy",
|
|
|
|
|
CUT: "cut",
|
|
|
|
|
DRAG_OVER: "dragover",
|
|
|
|
|
DROP: "drop",
|
|
|
|
|
GESTURE_CHANGE: "gesturechange",
|
|
|
|
|
GESTURE_END: "gestureend",
|
|
|
|
|
GESTURE_START: "gesturestart",
|
|
|
|
|
HASHCHANGE: "hashchange",
|
|
|
|
|
KEYDOWN: "keydown",
|
|
|
|
|
KEYUP: "keyup",
|
|
|
|
|
MOUSE_MOVE: "mousemove",
|
|
|
|
|
PASTE: "paste",
|
|
|
|
|
POINTER_MOVE: "pointermove",
|
|
|
|
|
POINTER_UP: "pointerup",
|
|
|
|
|
RESIZE: "resize",
|
|
|
|
|
STATE_CHANGE: "statechange",
|
|
|
|
|
TOUCH_END: "touchend",
|
|
|
|
|
TOUCH_START: "touchstart",
|
|
|
|
|
UNLOAD: "unload",
|
|
|
|
|
WHEEL: "wheel",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const ENV = {
|
|
|
|
|
TEST: "test",
|
|
|
|
|