Location
Overview
The Location interface represents the location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
ancestorOrigins
property ancestorOrigins: String read write;
String ancestorOrigins { get; set; }
var ancestorOrigins: String { get{} set{} }
String ancestorOrigins { __get; __set; }
Property ancestorOrigins() As String
assign
Loads the resource at the URL provided in parameter.
method assign(parurl: dynamic): String
String assign(dynamic parurl)
func assign(_ parurl: dynamic) -> String
String assign(dynamic parurl)
Function assign(parurl As dynamic) As String
Parameters:
- parurl:
hash
property hash: String read write;
String hash { get; set; }
var hash: String { get{} set{} }
String hash { __get; __set; }
Property hash() As String
host
property host: String read write;
String host { get; set; }
var host: String { get{} set{} }
String host { __get; __set; }
Property host() As String
hostname
property hostname: String read write;
String hostname { get; set; }
var hostname: String { get{} set{} }
String hostname { __get; __set; }
Property hostname() As String
href
property href: String read write;
String href { get; set; }
var href: String { get{} set{} }
String href { __get; __set; }
Property href() As String
origin
property origin: String read;
String origin { get; }
var origin: String { get{} }
String origin { __get; }
ReadOnly Property origin() As String
pathname
property pathname: String read write;
String pathname { get; set; }
var pathname: String { get{} set{} }
String pathname { __get; __set; }
Property pathname() As String
port
property port: String read write;
String port { get; set; }
var port: String { get{} set{} }
String port { __get; __set; }
Property port() As String
protocol
property protocol: String read write;
String protocol { get; set; }
var protocol: String { get{} set{} }
String protocol { __get; __set; }
Property protocol() As String
reload
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.
method reload: Boolean
Boolean reload()
func reload() -> Boolean
Boolean reload()
Function reload() As Boolean
search
property search: String read write;
String search { get; set; }
var search: String { get{} set{} }
String search { __get; __set; }
Property search() As String
toString
Returns a USVString containing the whole URL. It is a synonym for HTMLHyperlinkElementUtils.href, though it can't be used to modify the value.
ancestorOrigins
property ancestorOrigins: String read write;
String ancestorOrigins { get; set; }
var ancestorOrigins: String { get{} set{} }
String ancestorOrigins { __get; __set; }
Property ancestorOrigins() As String
hash
property hash: String read write;
String hash { get; set; }
var hash: String { get{} set{} }
String hash { __get; __set; }
Property hash() As String
host
property host: String read write;
String host { get; set; }
var host: String { get{} set{} }
String host { __get; __set; }
Property host() As String
hostname
property hostname: String read write;
String hostname { get; set; }
var hostname: String { get{} set{} }
String hostname { __get; __set; }
Property hostname() As String
href
property href: String read write;
String href { get; set; }
var href: String { get{} set{} }
String href { __get; __set; }
Property href() As String
origin
property origin: String read;
String origin { get; }
var origin: String { get{} }
String origin { __get; }
ReadOnly Property origin() As String
pathname
property pathname: String read write;
String pathname { get; set; }
var pathname: String { get{} set{} }
String pathname { __get; __set; }
Property pathname() As String
port
property port: String read write;
String port { get; set; }
var port: String { get{} set{} }
String port { __get; __set; }
Property port() As String
protocol
property protocol: String read write;
String protocol { get; set; }
var protocol: String { get{} set{} }
String protocol { __get; __set; }
Property protocol() As String
search
assign
Loads the resource at the URL provided in parameter.
method assign(parurl: dynamic): String
String assign(dynamic parurl)
func assign(_ parurl: dynamic) -> String
String assign(dynamic parurl)
Function assign(parurl As dynamic) As String
Parameters:
- parurl:
reload
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.
method reload: Boolean
Boolean reload()
func reload() -> Boolean
Boolean reload()
Function reload() As Boolean
toString
Returns a USVString containing the whole URL. It is a synonym for HTMLHyperlinkElementUtils.href, though it can't be used to modify the value.