Class: Browser::Event::Mouse::Definition::Offset

Inherits:
Object
  • Object
show all
Includes:
Native
Defined in:
opal/browser/event/mouse.rb

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object


36
37
38
# File 'opal/browser/event/mouse.rb', line 36

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

#y=(value) ⇒ Object


40
41
42
# File 'opal/browser/event/mouse.rb', line 40

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