kotlin-stdlib
JS
kotlin-stdlib
/
org.w3c.dom.url
/
URL
URL
JS
open
external
class
URL
(
url
:
String
,
base
:
String
=
definedExternally
)
Exposes the JavaScript
URL
to Kotlin
Types
Constructors
Properties
Constructors
URL
Link copied to clipboard
JS
fun
URL
(
url
:
String
,
base
:
String
=
definedExternally
)
Types
Companion
Link copied to clipboard
JS
object
Companion
Properties
hash
Link copied to clipboard
JS
var
hash
:
String
host
Link copied to clipboard
JS
var
host
:
String
hostname
Link copied to clipboard
JS
var
hostname
:
String
href
Link copied to clipboard
JS
var
href
:
String
origin
Link copied to clipboard
JS
open
val
origin
:
String
password
Link copied to clipboard
JS
var
password
:
String
pathname
Link copied to clipboard
JS
var
pathname
:
String
port
Link copied to clipboard
JS
var
port
:
String
protocol
Link copied to clipboard
JS
var
protocol
:
String
search
Link copied to clipboard
JS
var
search
:
String
search
Params
Link copied to clipboard
JS
open
val
searchParams
:
URLSearchParams
username
Link copied to clipboard
JS
var
username
:
String