URL

JS
1.1
open class URL

Exposes the JavaScript URL to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript URL to Kotlin

URL(url: String, base: String = definedExternally)

Properties

JS
1.1

hash

var hash: String
JS
1.1

host

var host: String
JS
1.1

hostname

var hostname: String
JS
1.1

href

var href: String
JS
1.1

origin

open val origin: String
JS
1.1

password

var password: String
JS
1.1

pathname

var pathname: String
JS
1.1

port

var port: String
JS
1.1

protocol

var protocol: String
JS
1.1

search

var search: String
JS
1.1

searchParams

open val searchParams: URLSearchParams
JS
1.1

username

var username: String

Companion Object Functions

JS
1.1

createFor

fun createFor(blob: Blob): String
JS
1.1

createObjectURL

fun createObjectURL(blob: Blob): String
JS
1.1

domainToASCII

fun domainToASCII(domain: String): String
JS
1.1

domainToUnicode

fun domainToUnicode(domain: String): String
JS
1.1

revokeObjectURL

fun revokeObjectURL(url: String)