Location class

Inheritance
Implements
Annotations
  • @DocsEditable()
  • @DomName('Location')

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

Location.internal_()

Properties

ancestorOriginsList<String>
@DocsEditable(), @DomName('Location.ancestorOrigins'), @Experimental(), read-only
hashString
@DocsEditable(), @DomName('Location.hash'), read / write
hostString
@DocsEditable(), @DomName('Location.host'), read / write
hostnameString
@DocsEditable(), @DomName('Location.hostname'), read / write
hrefString
@DocsEditable(), @DomName('Location.href'), read / write
originString
@DocsEditable(), @DomName('Location.origin'), @Experimental(), read-only
pathnameString
@DocsEditable(), @DomName('Location.pathname'), read / write
portString
@DocsEditable(), @DomName('Location.port'), read / write
protocolString
@DocsEditable(), @DomName('Location.protocol'), read / write
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

assign([String url ]) → void
@DocsEditable(), @DomName('Location.assign')
reload() → void
@DocsEditable(), @DomName('Location.reload')
replace(String url) → void
@DocsEditable(), @DomName('Location.replace')
toString() → String
@DocsEditable(), @DomName('Location.toString')

Returns the result of the JavaScript objects toString method.

noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Location-class.html