Method: Browser::Window#screen

Defined in:
lib/diamonds/opal/browser/screen.rb

#screenScreen (readonly)

Returns the screen for the window.

Returns:

  • (Screen)

    the screen for the window



61
62
63
# File 'lib/diamonds/opal/browser/screen.rb', line 61

def screen
  Screen.new(`#@native.screen`)
end