Class: Browser::Event::Touch::Definition
Instance Method Summary
collapse
Methods inherited from Definition
#bubbles=, #cancelable=, new
Instance Method Details
9
10
11
|
# File 'lib/diamonds/opal/browser/event/touch.rb', line 9
def alt!
`#@native.altKey = true`
end
|
13
14
15
|
# File 'lib/diamonds/opal/browser/event/touch.rb', line 13
def ctrl!
`#@native.ctrlKey = true`
end
|
17
18
19
|
# File 'lib/diamonds/opal/browser/event/touch.rb', line 17
def meta!
`#@native.metaKey = true`
end
|
21
22
23
|
# File 'lib/diamonds/opal/browser/event/touch.rb', line 21
def shift!
`#@native.shiftKey = true`
end
|