The URL interface represent an object providing static methods used for creating object URLs.
Documentation URL by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Static methods
staticcreateObjectURL(source:MediaSource, ?options:ObjectURLOptions):String
staticcreateObjectURL(blob:Blob, ?options:ObjectURLOptions):String
staticcreateObjectURL(stream:MediaStream, ?options:ObjectURLOptions):String
Throws:
null | DOMError |
|---|
Constructor
Variables
host:String
Is a DOMString containing the host, that is the hostname, a ':', and the port of the URL.
read onlyorigin:String
Returns a DOMString containing the origin of the URL, that is its scheme, its domain and its port.
read onlysearchParams:URLSearchParams
Returns a URLSearchParams object allowing to access the GET query arguments contained in the URL.