CustomEvent
Overview
The CustomEvent interface represents events initialized by an application for any purpose.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
- Ancestry: Event | CustomEvent
Properties
detail
property detail: dynamic read;
dynamic detail { get; }
var detail: dynamic { get{} }
dynamic detail { __get; }
ReadOnly Property detail() As dynamic
Required Methods
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