Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin libraries
1.4
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JS
switch theme
search in API
kotlin-stdlib
/
org.w3c.dom
/
ErrorEvent
Error
Event
JS
open
external
class
ErrorEvent
(
type
:
String
,
eventInitDict
:
ErrorEventInit
=
definedExternally
)
:
Event
(
source
)
Exposes the JavaScript
ErrorEvent
to Kotlin
Since Kotlin
1.1
Members
Constructors
Error
Event
Link copied to clipboard
JS
constructor
(
type
:
String
,
eventInitDict
:
ErrorEventInit
=
definedExternally
)
Types
Companion
Link copied to clipboard
JS
object
Companion
Since Kotlin
1.1
Properties
bubbles
Link copied to clipboard
JS
open
val
bubbles
:
Boolean
Since Kotlin
1.1
cancelable
Link copied to clipboard
JS
open
val
cancelable
:
Boolean
Since Kotlin
1.1
colno
Link copied to clipboard
JS
open
val
colno
:
Int
Since Kotlin
1.1
composed
Link copied to clipboard
JS
open
val
composed
:
Boolean
Since Kotlin
1.1
current
Target
Link copied to clipboard
JS
open
val
currentTarget
:
EventTarget
?
Since Kotlin
1.1
default
Prevented
Link copied to clipboard
JS
open
val
defaultPrevented
:
Boolean
Since Kotlin
1.1
error
Link copied to clipboard
JS
open
val
error
:
Any
?
Since Kotlin
1.1
event
Phase
Link copied to clipboard
JS
open
val
eventPhase
:
Short
Since Kotlin
1.1
filename
Link copied to clipboard
JS
open
val
filename
:
String
Since Kotlin
1.1
is
Trusted
Link copied to clipboard
JS
open
val
isTrusted
:
Boolean
Since Kotlin
1.1
lineno
Link copied to clipboard
JS
open
val
lineno
:
Int
Since Kotlin
1.1
message
Link copied to clipboard
JS
open
val
message
:
String
Since Kotlin
1.1
target
Link copied to clipboard
JS
open
val
target
:
EventTarget
?
Since Kotlin
1.1
time
Stamp
Link copied to clipboard
JS
open
val
timeStamp
:
Number
Since Kotlin
1.1
type
Link copied to clipboard
JS
open
val
type
:
String
Since Kotlin
1.1
Functions
composed
Path
Link copied to clipboard
JS
fun
composedPath
(
)
:
Array
<
EventTarget
>
Since Kotlin
1.1
init
Event
Link copied to clipboard
JS
fun
initEvent
(
type
:
String
,
bubbles
:
Boolean
,
cancelable
:
Boolean
)
Since Kotlin
1.1
prevent
Default
Link copied to clipboard
JS
fun
preventDefault
(
)
Since Kotlin
1.1
stop
Immediate
Propagation
Link copied to clipboard
JS
fun
stopImmediatePropagation
(
)
Since Kotlin
1.1
stop
Propagation
Link copied to clipboard
JS
fun
stopPropagation
(
)
Since Kotlin
1.1
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.