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

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

Instance Method Summary collapse

Instance Method Details

#x=(value) ⇒ Object



60
61
62
# File 'opal/browser/event/mouse.rb', line 60

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

#y=(value) ⇒ Object



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

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