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

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object


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

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

#y=(value) ⇒ Object


56
57
58
# File 'opal/browser/event/mouse.rb', line 56

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