Method: Browser::DOM::Document#location

Defined in:
opal/browser/location.rb

#locationLocation (readonly)

Returns the location for the document.

Returns:

  • (Location)

    the location for the document



89
90
91
# File 'opal/browser/location.rb', line 89

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