class ErrorEvent extends Object with Event
A MessageEvent is the interface representing a message received by a target, being a WebSocket or a WebRTC RTCDataChannel.
- Annotations
- @RawJSType() @native()
- Alphabetic
- By Inheritance
- ErrorEvent
- Event
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ErrorEvent()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
AT_TARGET: Int
The current event is in the target phase, i.e.
The current event is in the target phase, i.e. it is being evaluated at the event target (2)
- Definition Classes
- Event
-
val
BUBBLING_PHASE: Int
The current event phase is the bubbling phase (3)
The current event phase is the bubbling phase (3)
- Definition Classes
- Event
-
val
CAPTURING_PHASE: Int
The current event phase is the capture phase (1)
The current event phase is the capture phase (1)
- Definition Classes
- Event
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
bubbles: Boolean
Returns whether or not a specific event is a bubbling event
Returns whether or not a specific event is a bubbling event
- Definition Classes
- Event
-
def
cancelable: Boolean
Returns whether or not an event can have its default action prevented
Returns whether or not an event can have its default action prevented
- Definition Classes
- Event
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
currentTarget: Element
Returns the element whose event listeners triggered the event
Returns the element whose event listeners triggered the event
- Definition Classes
- Event
-
def
defaultPrevented: Boolean
Returns whether or not the preventDefault() method was called for the event
Returns whether or not the preventDefault() method was called for the event
- Definition Classes
- Event
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eventPhase: String
Returns which phase of the event flow is currently being evaluated
Returns which phase of the event flow is currently being evaluated
- Definition Classes
- Event
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
isTrusted: Boolean
Returns whether or not an event is trusted
Returns whether or not an event is trusted
- Definition Classes
- Event
- def message: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
preventDefault(): Unit
Cancels the event if it is cancelable, meaning that the default action that belongs to the event will not occur
Cancels the event if it is cancelable, meaning that the default action that belongs to the event will not occur
- Definition Classes
- Event
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
def
stopImmediatePropagation(): Unit
Prevents other listeners of the same event from being called
Prevents other listeners of the same event from being called
- Definition Classes
- Event
-
def
stopPropagation(): Unit
Prevents further propagation of an event during event flow
Prevents further propagation of an event during event flow
- Definition Classes
- Event
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
target: Element
Returns the element that triggered the event
Returns the element that triggered the event
- Definition Classes
- Event
-
def
timeStamp: Double
Returns the time (in milliseconds relative to the epoch) at which the event was created
Returns the time (in milliseconds relative to the epoch) at which the event was created
- Definition Classes
- Event
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
type: String
Returns the name of the event
Returns the name of the event
- Definition Classes
- Event
-
def
valueOf(): Any
- Definition Classes
- Object
-
def
view: Any
Returns a reference to the Window object where the event occurred TODO is this really a reference to Window?
Returns a reference to the Window object where the event occurred TODO is this really a reference to Window?
- Definition Classes
- Event
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )