ErrorEvent

open external class ErrorEvent : Event (source)

Platform and version requirements: JS

Exposes the JavaScript ErrorEvent to Kotlin

Constructors

<init>

ErrorEvent(
    type: String,
    eventInitDict: ErrorEventInit = definedExternally)

Exposes the JavaScript ErrorEvent to Kotlin

Properties

colno

open val colno: Int

error

open val error: Any?

filename

open val filename: String

lineno

open val lineno: Int

message

open val message: String

Inherited Properties

bubbles

open val bubbles: Boolean

cancelable

open val cancelable: Boolean

composed

open val composed: Boolean

currentTarget

open val currentTarget: EventTarget?

defaultPrevented

open val defaultPrevented: Boolean

eventPhase

open val eventPhase: Short

isTrusted

open val isTrusted: Boolean

target

open val target: EventTarget?

timeStamp

open val timeStamp: Number

type

open val type: String

Inherited Functions

composedPath

fun composedPath(): Array<EventTarget>

initEvent

fun initEvent(
    type: String,
    bubbles: Boolean,
    cancelable: Boolean)

preventDefault

fun preventDefault()

stopImmediatePropagation

fun stopImmediatePropagation()

stopPropagation

fun stopPropagation()