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


9
10
11
# File 'opal/browser/event/device_orientation.rb', line 9

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

#alpha=(value) ⇒ Object


13
14
15
# File 'opal/browser/event/device_orientation.rb', line 13

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

#beta=(value) ⇒ Object


17
18
19
# File 'opal/browser/event/device_orientation.rb', line 17

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

#gamma=(value) ⇒ Object


21
22
23
# File 'opal/browser/event/device_orientation.rb', line 21

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