Packages

c

io.scalajs.dom.ws

ErrorEvent

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() @JSGlobal( "ErrorEvent" )
Linear Supertypes
Event, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErrorEvent
  2. Event
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ErrorEvent()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
  5. 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
  6. 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
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. 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
  9. 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
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def currentTarget: Element

    Returns the element whose event listeners triggered the event

    Returns the element whose event listeners triggered the event

    Definition Classes
    Event
  12. 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
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. 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
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  22. def isTrusted: Boolean

    Returns whether or not an event is trusted

    Returns whether or not an event is trusted

    Definition Classes
    Event
  23. def message: String
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. 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
  28. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  29. 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
  30. def stopPropagation(): Unit

    Prevents further propagation of an event during event flow

    Prevents further propagation of an event during event flow

    Definition Classes
    Event
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def target: Element

    Returns the element that triggered the event

    Returns the element that triggered the event

    Definition Classes
    Event
  33. 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
  34. def toLocaleString(): String
    Definition Classes
    Object
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def type: String

    Returns the name of the event

    Returns the name of the event

    Definition Classes
    Event
  37. def valueOf(): Any
    Definition Classes
    Object
  38. 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
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Event

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped