Class: Browser::Event::Mouse::Definition::Page

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object



48
49
50
# File 'opal/browser/event/mouse.rb', line 48

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

#y=(value) ⇒ Object



52
53
54
# File 'opal/browser/event/mouse.rb', line 52

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