enum
This commit is contained in:
parent
7ead1848da
commit
3bc80ea3a3
@ -23,30 +23,30 @@ export const POINTER_BUTTON = {
|
||||
WHEEL: 1,
|
||||
};
|
||||
|
||||
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 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 ENV = {
|
||||
TEST: "test",
|
||||
|
Loading…
x
Reference in New Issue
Block a user