Class: Browser::Event::Mouse::Definition::Screen

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


64
65
66
# File 'opal/browser/event/mouse.rb', line 64

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

#y=(value) ⇒ Object


68
69
70
# File 'opal/browser/event/mouse.rb', line 68

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