Explorar o código

js.html.Location.toString() (closes #6824)

Alexander Kuzmenko %!s(int64=7) %!d(string=hai) anos
pai
achega
6514333ea7
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      std/js/html/Location.hx

+ 5 - 0
std/js/html/Location.hx

@@ -98,4 +98,9 @@ extern class Location
 		Reloads the resource from the current URL. Its optional unique parameter is a `Boolean`, which, when it is `true`, causes the page to always be reloaded from the server. If it is `false` or not specified, the browser may reload the page from its cache.
 	**/
 	function reload( ?forceget : Bool = false ) : Void;
+
+	/**
+		Returns a string containing the whole URL.
+	**/
+	function toString() : String;
 }