@@ -31,27 +31,27 @@ class Event
31
31
# Focus
32
32
alias_native :related_target , :relatedTarget
33
33
# Mouse
34
- alias_native :alt_key , :altKey
34
+ # aliased above: alias_native :alt_key, :altKey
35
35
alias_native :button , :button
36
36
alias_native :buttons , :buttons
37
37
alias_native :client_x , :clientX
38
38
alias_native :client_y , :clientY
39
- alias_native :ctrl_key , :ctrlKey
39
+ # aliased above: alias_native :ctrl_key, :ctrlKey
40
40
alias_native :get_modifier_state , :getModifierState
41
- alias_native :meta_key , :metaKey
41
+ # aliased above: alias_native :meta_key, :metaKey
42
42
alias_native :page_x , :pageX
43
43
alias_native :page_y , :pageY
44
- alias_native :related_target , :relatedTarget
44
+ # aliased above: alias_native :related_target, :relatedTarget
45
45
alias_native :screen_x , :screen_x
46
46
alias_native :screen_y , :screen_y
47
- alias_native :shift_key , :shift_key
47
+ # aliased above: alias_native :shift_key, :shift_key
48
48
# Touch
49
- alias_native :alt_key , :altKey
49
+ # aliased above: alias_native :alt_key, :altKey
50
50
alias_native :changed_touches , :changedTouches
51
- alias_native :ctrl_key , :ctrlKey
52
- alias_native :get_modifier_state , :getModifierState
53
- alias_native :meta_key , :metaKey
54
- alias_native :shift_key , :shiftKey
51
+ # aliased above: alias_native :ctrl_key, :ctrlKey
52
+ # aliased above: alias_native :get_modifier_state, :getModifierState
53
+ # aliased above: alias_native :meta_key, :metaKey
54
+ # aliased above: alias_native :shift_key, :shiftKey
55
55
alias_native :target_touches , :targetTouches
56
56
alias_native :touches , :touches
57
57
# UI
@@ -64,10 +64,10 @@ class Event
64
64
alias_native :delta_z , :deltaZ
65
65
66
66
BUILT_IN_EVENTS = %w{ onCopy onCut onPaste onKeyDown onKeyPress onKeyUp
67
- onFocus onBlur onChange onInput onSubmit onClick onDoubleClick onDrag
67
+ onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag
68
68
onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop
69
69
onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver
70
- onMouseUp onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll }
70
+ onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel }
71
71
72
72
def initialize ( native_element )
73
73
@native = native_element
0 commit comments