1.14.0.5
Hummingbird
A modern user interface library for games
Location Interface Reference

Location for document. More...

Public Member Functions

void assign (USVString url)
 Navigates to the given URL.
 
void replace (USVString url)
 Removes the current page from the session history and navigates to the given URL.
 
void reload (optional Bool forceReload)
 Reloads the current page.
 

Public Attributes

attribute USVString href
 Whole url of the document.
 
readonly attribute USVString origin
 URL's origin.
 
attribute USVString protocol
 URL's protocol.
 
attribute USVString host
 URL's host and port (if different from the default port for the scheme)
 
attribute USVString hostname
 URL's host.
 
attribute USVString port
 URL's port.
 
attribute USVString pathname
 URL's path.
 
attribute USVString search
 URL's query (includes leading "?" if non-empty)
 
attribute USVString hash
 URL's fragment (includes leading "#" if non-empty)
 

Detailed Description

Location for document.