Class: NablaConnectErrorEvent
The error event of a client. The error is on detail.
Extends
CustomEvent<NablaConnectError>
Constructors
Constructor
new NablaConnectErrorEvent(
error):NablaConnectErrorEvent
Parameters
error
The error to report.
Returns
NablaConnectErrorEvent
Overrides
CustomEvent<NablaConnectError>.constructor
Properties
AT_TARGET
readonlyAT_TARGET:2
Inherited from
CustomEvent.AT_TARGET
bubbles
readonlybubbles:boolean
The bubbles read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.
Inherited from
CustomEvent.bubbles
BUBBLING_PHASE
readonlyBUBBLING_PHASE:3
Inherited from
CustomEvent.BUBBLING_PHASE
cancelable
readonlycancelable:boolean
The cancelable read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.
Inherited from
CustomEvent.cancelable
cancelBubble
cancelBubble:
boolean
The cancelBubble property of the Event interface is deprecated.
Deprecated
Inherited from
CustomEvent.cancelBubble
CAPTURING_PHASE
readonlyCAPTURING_PHASE:1
Inherited from
CustomEvent.CAPTURING_PHASE
composed
readonlycomposed:boolean
The read-only composed property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.
Inherited from
CustomEvent.composed
currentTarget
readonlycurrentTarget:EventTarget|null
The currentTarget read-only property of the Event interface identifies the element to which the event handler has been attached.
Inherited from
CustomEvent.currentTarget
defaultPrevented
readonlydefaultPrevented:boolean
The defaultPrevented read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.
Inherited from
CustomEvent.defaultPrevented
detail
readonlydetail:NablaConnectError
The read-only detail property of the CustomEvent interface returns any data passed when initializing the event.
Inherited from
CustomEvent.detail
eventPhase
readonlyeventPhase:number
The eventPhase read-only property of the being evaluated.
Inherited from
CustomEvent.eventPhase
isTrusted
readonlyisTrusted:boolean
The isTrusted read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and false when the event was dispatched via The only exception is the click event, which initializes the isTrusted property to false in user agents.
Inherited from
CustomEvent.isTrusted
NONE
readonlyNONE:0
Inherited from
CustomEvent.NONE
returnValue
returnValue:
boolean
The Event property returnValue indicates whether the default action for this event has been prevented or not.
Deprecated
Inherited from
CustomEvent.returnValue
srcElement
readonlysrcElement:EventTarget|null
The deprecated Event.srcElement is an alias for the Event.target property.
Deprecated
Inherited from
CustomEvent.srcElement
target
readonlytarget:EventTarget|null
The read-only target property of the dispatched.
Inherited from
CustomEvent.target
timeStamp
readonlytimeStamp:number
The timeStamp read-only property of the Event interface returns the time (in milliseconds) at which the event was created.
Inherited from
CustomEvent.timeStamp
type
readonlytype:string
The type read-only property of the Event interface returns a string containing the event's type.
Inherited from
CustomEvent.type
Methods
composedPath()
composedPath():
EventTarget[]
The composedPath() method of the Event interface returns the event's path which is an array of the objects on which listeners will be invoked.
Returns
EventTarget[]
Inherited from
CustomEvent.composedPath
initCustomEvent()
initCustomEvent(
type,bubbles?,cancelable?,detail?):void
The CustomEvent.initCustomEvent() method initializes a CustomEvent object.
Parameters
type
string
bubbles?
boolean
cancelable?
boolean
detail?
Returns
void
Deprecated
Inherited from
CustomEvent.initCustomEvent
initEvent()
initEvent(
type,bubbles?,cancelable?):void
The Event.initEvent() method is used to initialize the value of an event created using Document.createEvent().
Parameters
type
string
bubbles?
boolean
cancelable?
boolean
Returns
void
Deprecated
Inherited from
CustomEvent.initEvent
preventDefault()
preventDefault():
void
The preventDefault() method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
Returns
void
Inherited from
CustomEvent.preventDefault
stopImmediatePropagation()
stopImmediatePropagation():
void
The stopImmediatePropagation() method of the If several listeners are attached to the same element for the same event type, they are called in the order in which they were added.
Returns
void
Inherited from
CustomEvent.stopImmediatePropagation
stopPropagation()
stopPropagation():
void
The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.
Returns
void
Inherited from
CustomEvent.stopPropagation