CustomEvent

Overview

The CustomEvent interface represents events initialized by an application for any purpose.

Location

 

bubbles    (declared in Event)

 

property bubbles: Boolean read;

 

Boolean bubbles { get; }

 

var bubbles: Boolean { get{} }

 

Boolean bubbles { __get; }

 

ReadOnly Property bubbles() As Boolean

cancelable    (declared in Event)

 

property cancelable: Boolean read;

 

Boolean cancelable { get; }

 

var cancelable: Boolean { get{} }

 

Boolean cancelable { __get; }

 

ReadOnly Property cancelable() As Boolean

cancelBubble    (declared in Event)

 

property cancelBubble: Boolean read write;

 

Boolean cancelBubble { get; set; }

 

var cancelBubble: Boolean { get{} set{} }

 

Boolean cancelBubble { __get; __set; }

 

Property cancelBubble() As Boolean

composed    (declared in Event)

 

property composed: Boolean read;

 

Boolean composed { get; }

 

var composed: Boolean { get{} }

 

Boolean composed { __get; }

 

ReadOnly Property composed() As Boolean

composedPath

Returns the event’s path (objects on which listeners will be invoked). This does not include nodes in shadow trees if the shadow root was created with its ShadowRoot.mode closed.

 

method composedPath: dynamic

 

dynamic composedPath()

 

func composedPath() -> dynamic

 

dynamic composedPath()

 

Function composedPath() As dynamic

currentTarget    (declared in Event)

 

property currentTarget: dynamic read;

 

dynamic currentTarget { get; }

 

var currentTarget: dynamic { get{} }

 

dynamic currentTarget { __get; }

 

ReadOnly Property currentTarget() As dynamic

defaultPrevented    (declared in Event)

 

property defaultPrevented: Boolean read;

 

Boolean defaultPrevented { get; }

 

var defaultPrevented: Boolean { get{} }

 

Boolean defaultPrevented { __get; }

 

ReadOnly Property defaultPrevented() As Boolean

detail

 

property detail: dynamic read;

 

dynamic detail { get; }

 

var detail: dynamic { get{} }

 

dynamic detail { __get; }

 

ReadOnly Property detail() As dynamic

eventPhase    (declared in Event)

 

property eventPhase: Int32 read;

 

Int32 eventPhase { get; }

 

var eventPhase: Int32 { get{} }

 

Int32 eventPhase { __get; }

 

ReadOnly Property eventPhase() As Int32

isTrusted    (declared in Event)

 

property isTrusted: Boolean read;

 

Boolean isTrusted { get; }

 

var isTrusted: Boolean { get{} }

 

Boolean isTrusted { __get; }

 

ReadOnly Property isTrusted() As Boolean

preventDefault

Cancels the event (if it is cancelable).

 

method preventDefault: dynamic

 

dynamic preventDefault()

 

func preventDefault() -> dynamic

 

dynamic preventDefault()

 

Function preventDefault() As dynamic

returnValue    (declared in Event)

 

property returnValue: String read write;

 

String returnValue { get; set; }

 

var returnValue: String { get{} set{} }

 

String returnValue { __get; __set; }

 

Property returnValue() As String

stopImmediatePropagation

For this particular event, prevent all other listeners from being called. This includes listeners attached to the same element as well as those attached to elements that will be traversed later (during the capture phase, for instance).

 

method stopImmediatePropagation: dynamic

 

dynamic stopImmediatePropagation()

 

func stopImmediatePropagation() -> dynamic

 

dynamic stopImmediatePropagation()

 

Function stopImmediatePropagation() As dynamic

stopPropagation

Stops the propagation of events further along in the DOM.

 

method stopPropagation: dynamic

 

dynamic stopPropagation()

 

func stopPropagation() -> dynamic

 

dynamic stopPropagation()

 

Function stopPropagation() As dynamic

target    (declared in Event)

 

property target: EventTarget read;

 

EventTarget target { get; }

 

var target: EventTarget { get{} }

 

EventTarget target { __get; }

 

ReadOnly Property target() As EventTarget

timeStamp    (declared in Event)

 

property timeStamp: Int64 read;

 

Int64 timeStamp { get; }

 

var timeStamp: Int64 { get{} }

 

Int64 timeStamp { __get; }

 

ReadOnly Property timeStamp() As Int64

type    (declared in Event)

 

property type: dynamic read;

 

dynamic type { get; }

 

var type: dynamic { get{} }

 

dynamic type { __get; }

 

ReadOnly Property type() As dynamic

 

bubbles    (declared in Event)

 

property bubbles: Boolean read;

 

Boolean bubbles { get; }

 

var bubbles: Boolean { get{} }

 

Boolean bubbles { __get; }

 

ReadOnly Property bubbles() As Boolean

cancelable    (declared in Event)

 

property cancelable: Boolean read;

 

Boolean cancelable { get; }

 

var cancelable: Boolean { get{} }

 

Boolean cancelable { __get; }

 

ReadOnly Property cancelable() As Boolean

cancelBubble    (declared in Event)

 

property cancelBubble: Boolean read write;

 

Boolean cancelBubble { get; set; }

 

var cancelBubble: Boolean { get{} set{} }

 

Boolean cancelBubble { __get; __set; }

 

Property cancelBubble() As Boolean

composed    (declared in Event)

 

property composed: Boolean read;

 

Boolean composed { get; }

 

var composed: Boolean { get{} }

 

Boolean composed { __get; }

 

ReadOnly Property composed() As Boolean

currentTarget    (declared in Event)

 

property currentTarget: dynamic read;

 

dynamic currentTarget { get; }

 

var currentTarget: dynamic { get{} }

 

dynamic currentTarget { __get; }

 

ReadOnly Property currentTarget() As dynamic

defaultPrevented    (declared in Event)

 

property defaultPrevented: Boolean read;

 

Boolean defaultPrevented { get; }

 

var defaultPrevented: Boolean { get{} }

 

Boolean defaultPrevented { __get; }

 

ReadOnly Property defaultPrevented() As Boolean

detail

 

property detail: dynamic read;

 

dynamic detail { get; }

 

var detail: dynamic { get{} }

 

dynamic detail { __get; }

 

ReadOnly Property detail() As dynamic

eventPhase    (declared in Event)

 

property eventPhase: Int32 read;

 

Int32 eventPhase { get; }

 

var eventPhase: Int32 { get{} }

 

Int32 eventPhase { __get; }

 

ReadOnly Property eventPhase() As Int32

isTrusted    (declared in Event)

 

property isTrusted: Boolean read;

 

Boolean isTrusted { get; }

 

var isTrusted: Boolean { get{} }

 

Boolean isTrusted { __get; }

 

ReadOnly Property isTrusted() As Boolean

returnValue    (declared in Event)

 

property returnValue: String read write;

 

String returnValue { get; set; }

 

var returnValue: String { get{} set{} }

 

String returnValue { __get; __set; }

 

Property returnValue() As String

target    (declared in Event)

 

property target: EventTarget read;

 

EventTarget target { get; }

 

var target: EventTarget { get{} }

 

EventTarget target { __get; }

 

ReadOnly Property target() As EventTarget

timeStamp    (declared in Event)

 

property timeStamp: Int64 read;

 

Int64 timeStamp { get; }

 

var timeStamp: Int64 { get{} }

 

Int64 timeStamp { __get; }

 

ReadOnly Property timeStamp() As Int64

type    (declared in Event)

 

property type: dynamic read;

 

dynamic type { get; }

 

var type: dynamic { get{} }

 

dynamic type { __get; }

 

ReadOnly Property type() As dynamic

 

composedPath

Returns the event’s path (objects on which listeners will be invoked). This does not include nodes in shadow trees if the shadow root was created with its ShadowRoot.mode closed.

 

method composedPath: dynamic

 

dynamic composedPath()

 

func composedPath() -> dynamic

 

dynamic composedPath()

 

Function composedPath() As dynamic

preventDefault

Cancels the event (if it is cancelable).

 

method preventDefault: dynamic

 

dynamic preventDefault()

 

func preventDefault() -> dynamic

 

dynamic preventDefault()

 

Function preventDefault() As dynamic

stopImmediatePropagation

For this particular event, prevent all other listeners from being called. This includes listeners attached to the same element as well as those attached to elements that will be traversed later (during the capture phase, for instance).

 

method stopImmediatePropagation: dynamic

 

dynamic stopImmediatePropagation()

 

func stopImmediatePropagation() -> dynamic

 

dynamic stopImmediatePropagation()

 

Function stopImmediatePropagation() As dynamic

stopPropagation

Stops the propagation of events further along in the DOM.

 

method stopPropagation: dynamic

 

dynamic stopPropagation()

 

func stopPropagation() -> dynamic

 

dynamic stopPropagation()

 

Function stopPropagation() As dynamic