ErrorEvent

open external class ErrorEvent(type: String, eventInitDict: ErrorEventInit) : Event

Exposes the JavaScript ErrorEvent to Kotlin

Constructors

ErrorEvent
Link copied to clipboard
fun ErrorEvent(type: String, eventInitDict: ErrorEventInit = definedExternally)

Types

Companion
Link copied to clipboard
object Companion

Functions

composedPath
Link copied to clipboard
fun composedPath(): Array<EventTarget>
initEvent
Link copied to clipboard
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean)
preventDefault
Link copied to clipboard
fun preventDefault()
stopImmediatePropagation
Link copied to clipboard
fun stopImmediatePropagation()
stopPropagation
Link copied to clipboard
fun stopPropagation()

Properties

bubbles
Link copied to clipboard
open val bubbles: Boolean
cancelable
Link copied to clipboard
open val cancelable: Boolean
colno
Link copied to clipboard
open val colno: Int
composed
Link copied to clipboard
open val composed: Boolean
currentTarget
Link copied to clipboard
open val currentTarget: EventTarget?
defaultPrevented
Link copied to clipboard
open val defaultPrevented: Boolean
error
Link copied to clipboard
open val error: Any?
eventPhase
Link copied to clipboard
open val eventPhase: Short
filename
Link copied to clipboard
open val filename: String
isTrusted
Link copied to clipboard
open val isTrusted: Boolean
lineno
Link copied to clipboard
open val lineno: Int
message
Link copied to clipboard
open val message: String
target
Link copied to clipboard
open val target: EventTarget?
timeStamp
Link copied to clipboard
open val timeStamp: Number
type
Link copied to clipboard
open val type: String