Used by all targets except html5 to represent the current location.

Available since

1.0.0

.

Static methods

staticfromString(value:String):Location

Creates a Location object from a URL.

Available since

1.0.0

.

Constructor

@:value({ hash : "", search : "" })new(pathname:String, search:String = "", hash:String = "")

Creates a new Location object.

Available since

1.0.0

.

Variables

@:flash.propertyread onlyhash:String

@:flash.propertyread onlyhost:String

@:flash.propertyread onlyhostname:String

@:flash.propertyread onlyhref:String

@:flash.propertyread onlyorigin:String

@:flash.propertyread onlypathname:String

@:flash.propertyread onlyport:String

@:flash.propertyread onlyprotocol:String

@:flash.propertyread onlysearch:String

Methods

get_hash():String

get_host():String

get_hostname():String

get_href():String

get_origin():String

get_pathname():String

get_port():String

get_protocol():String

get_search():String