Method: Browser::Window#location

Defined in:
opal/browser/location.rb

#locationLocation (readonly)

Returns the location for the window.

Returns:

  • (Location)

    the location for the window



74
75
76
# File 'opal/browser/location.rb', line 74

def location
  Location.new(`#@native.location`) if `#@native.location`
end