Spec-Zone.ru › Dart 2

dart:html

location property

Location location
override

The current location of this window.

Location currentLocation = window.location;
print(currentLocation.href); // 'http://www.example.com:80/'

Implementation

Location get location => _location;
void location=(LocationBase value)

Sets the window's location, which causes the browser to navigate to the new location.

Implementation

set location(value) {
  _location = value;
}

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.19.6/dart-html/Window/location.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API