ziko
Version:
A versatile JavaScript library offering a rich set of Hyperscript Based UI components, advanced mathematical utilities, interactivity ,animations, client side routing and more ...
71 lines (67 loc) • 1.11 kB
JavaScript
const EventsMap = {
'Click' : [
'Click',
'DblClick',
'ClickAway'
],
'Ptr' : [
'PtrMove',
'PtrDown',
'PtrUp',
'PtrLeave',
'PtrEnter',
'PtrOut',
'PtrCancel'
],
'Mouse' : [
'MouseMove',
'MouseDown',
'MouseUp',
'MouseEnter',
'MouseLeave',
'MouseOut'
],
// 'Touch' : [],
'Key' : [
'KeyDown',
'KeyPress',
'KeyUp'
],
'Clipboard':[
'Copy',
'Cut',
'Paste'
],
'Focus':[
'focus',
'blur'
],
'Drag':[
"Drag",
"DragStart",
"DragEnd",
"Drop"
],
'Wheel': [
'Wheel'
],
// 'Media':[
// ],
// 'Hash':[
// "HashChange"
// ]
'View':[
'EnterView',
'ExitView',
'ResizeView'
],
'Swipe':[
'SwipeLeft',
'SwipeUp',
'SwipeRight',
'SwipeDown'
]
}
export {
EventsMap
}