Class: Browser::Event::DeviceMotion::Acceleration
- Defined in:
- opal/browser/event/device_motion.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
8 9 10 |
# File 'opal/browser/event/device_motion.rb', line 8 def x @x end |
#y ⇒ Object
Returns the value of attribute y
8 9 10 |
# File 'opal/browser/event/device_motion.rb', line 8 def y @y end |
#z ⇒ Object
Returns the value of attribute z
8 9 10 |
# File 'opal/browser/event/device_motion.rb', line 8 def z @z end |