enum
This commit is contained in:
parent
7ead1848da
commit
3bc80ea3a3
@ -23,30 +23,30 @@ export const POINTER_BUTTON = {
|
|||||||
WHEEL: 1,
|
WHEEL: 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const EVENT = {
|
export enum EVENT {
|
||||||
BEFORE_UNLOAD: "beforeunload",
|
BEFORE_UNLOAD = "beforeunload",
|
||||||
BLUR: "blur",
|
BLUR = "blur",
|
||||||
COPY: "copy",
|
COPY = "copy",
|
||||||
CUT: "cut",
|
CUT = "cut",
|
||||||
DRAG_OVER: "dragover",
|
DRAG_OVER = "dragover",
|
||||||
DROP: "drop",
|
DROP = "drop",
|
||||||
GESTURE_CHANGE: "gesturechange",
|
GESTURE_CHANGE = "gesturechange",
|
||||||
GESTURE_END: "gestureend",
|
GESTURE_END = "gestureend",
|
||||||
GESTURE_START: "gesturestart",
|
GESTURE_START = "gesturestart",
|
||||||
HASHCHANGE: "hashchange",
|
HASHCHANGE = "hashchange",
|
||||||
KEYDOWN: "keydown",
|
KEYDOWN = "keydown",
|
||||||
KEYUP: "keyup",
|
KEYUP = "keyup",
|
||||||
MOUSE_MOVE: "mousemove",
|
MOUSE_MOVE = "mousemove",
|
||||||
PASTE: "paste",
|
PASTE = "paste",
|
||||||
POINTER_MOVE: "pointermove",
|
POINTER_MOVE = "pointermove",
|
||||||
POINTER_UP: "pointerup",
|
POINTER_UP = "pointerup",
|
||||||
RESIZE: "resize",
|
RESIZE = "resize",
|
||||||
STATE_CHANGE: "statechange",
|
STATE_CHANGE = "statechange",
|
||||||
TOUCH_END: "touchend",
|
TOUCH_END = "touchend",
|
||||||
TOUCH_START: "touchstart",
|
TOUCH_START = "touchstart",
|
||||||
UNLOAD: "unload",
|
UNLOAD = "unload",
|
||||||
WHEEL: "wheel",
|
WHEEL = "wheel",
|
||||||
};
|
}
|
||||||
|
|
||||||
export const ENV = {
|
export const ENV = {
|
||||||
TEST: "test",
|
TEST: "test",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user