Class: Browser::Event::DeviceOrientation::Definition

Inherits:
Browser::Event::Definition show all
Defined in:
opal/browser/event/device_orientation.rb

Instance Method Summary collapse

Methods inherited from Browser::Event::Definition

#bubbles=, #cancelable=

Instance Method Details

#absolute=(value) ⇒ Object


11
12
13
# File 'opal/browser/event/device_orientation.rb', line 11

def absolute=(value)
  `#@native.absolute = #{value}`
end

#alpha=(value) ⇒ Object


15
16
17
# File 'opal/browser/event/device_orientation.rb', line 15

def alpha=(value)
  `#@native.alpha = #{value}`
end

#beta=(value) ⇒ Object


19
20
21
# File 'opal/browser/event/device_orientation.rb', line 19

def beta=(value)
  `#@native.beta = #{value}`
end

#gamma=(value) ⇒ Object


23
24
25
# File 'opal/browser/event/device_orientation.rb', line 23

def gamma=(value)
  `#@native.gamma = #{value}`
end