Location class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- Location
- Implements
- Annotations
- @DocsEditable()
- @DomName('Location')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- ancestorOrigins → List<String> @DocsEditable(), @DomName('Location.ancestorOrigins'), @Experimental(), read-only
- hash → String @DocsEditable(), @DomName('Location.hash'), read / write
- host → String @DocsEditable(), @DomName('Location.host'), read / write
- hostname → String @DocsEditable(), @DomName('Location.hostname'), read / write
- href → String @DocsEditable(), @DomName('Location.href'), read / write
- origin → String @DocsEditable(), @DomName('Location.origin'), @Experimental(), read-only
- pathname → String @DocsEditable(), @DomName('Location.pathname'), read / write
- port → String @DocsEditable(), @DomName('Location.port'), read / write
- protocol → String @DocsEditable(), @DomName('Location.protocol'), read / write
- search → String @DocsEditable(), @DomName('Location.search'), read / write
- hashCode → int read-only, inherited
- runtimeType → Type 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