Method: Browser::Event::Mouse#screen

Defined in:
opal/browser/event/mouse.rb

#screenObject



144
145
146
# File 'opal/browser/event/mouse.rb', line 144

def screen
  Position.new(`#@native.screenX`, `#@native.screenY`) unless `#@native.screenX == null`
end