Location$Typings extension
Properties
-
ancestorOrigins
→ DOMStringList
-
Returns a DOMStringList object listing the origins of the ancestor
browsing contexts, from the parent browsing context to the top-level
browsing context.
no setter
-
assign
↔ void Function(String)
-
getter/setter pair
-
hash
↔ String
-
Returns the Location object's URL's fragment (includes leading "#" if
non-empty).
getter/setter pair
-
host
↔ String
-
Returns the Location object's URL's host and port (if different from the
default port for the scheme).
getter/setter pair
-
hostname
↔ String
-
Returns the Location object's URL's host.
getter/setter pair
-
href
↔ String
-
Returns the Location object's URL.
getter/setter pair
-
origin
→ String
-
Returns the Location object's URL's origin.
no setter
-
pathname
↔ String
-
Returns the Location object's URL's path.
getter/setter pair
-
port
↔ String
-
Returns the Location object's URL's port.
getter/setter pair
-
protocol
↔ String
-
Returns the Location object's URL's scheme.
getter/setter pair
-
reload
→ ({void Function() $1, void Function(bool forcedReload) $2})
-
Overload accessor: $1, $2
no setter
-
replace
↔ void Function(String)
-
getter/setter pair
-
search
↔ String
-
Returns the Location object's URL's query (includes leading "?" if
non-empty).
getter/setter pair
-
toString$
↔ String Function()
-
getter/setter pair