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
12 13 14 |
# File 'opal/browser/event/device_motion.rb', line 12 def x @x end |
#y ⇒ Object
Returns the value of attribute y
12 13 14 |
# File 'opal/browser/event/device_motion.rb', line 12 def y @y end |
#z ⇒ Object
Returns the value of attribute z
12 13 14 |
# File 'opal/browser/event/device_motion.rb', line 12 def z @z end |