@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="CustomEvent")
public class CustomEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
CustomEvent(java.lang.String type)
The CustomEvent() constructor creates a new CustomEvent.
|
CustomEvent(java.lang.String type,
CustomEventInit eventInitDict)
The CustomEvent() constructor creates a new CustomEvent.
|
| Modifier and Type | Method and Description |
|---|---|
jsinterop.base.Any |
detail()
The detail readonly property of the CustomEvent interface returns any data passed when initializing the event.
|
void |
initCustomEvent(java.lang.String type)
The CustomEvent.initCustomEvent() method initializes a CustomEvent object.
|
void |
initCustomEvent(java.lang.String type,
boolean bubbles)
The CustomEvent.initCustomEvent() method initializes a CustomEvent object.
|
void |
initCustomEvent(java.lang.String type,
boolean bubbles,
boolean cancelable)
The CustomEvent.initCustomEvent() method initializes a CustomEvent object.
|
void |
initCustomEvent(java.lang.String type,
boolean bubbles,
boolean cancelable,
java.lang.Object detail)
The CustomEvent.initCustomEvent() method initializes a CustomEvent object.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typepublic CustomEvent(@Nonnull
java.lang.String type,
@Nonnull
CustomEventInit eventInitDict)
public CustomEvent(@Nonnull
java.lang.String type)
@JsProperty(name="detail") @Nullable public jsinterop.base.Any detail()
public void initCustomEvent(@Nonnull
java.lang.String type,
boolean bubbles,
boolean cancelable,
@Nullable
java.lang.Object detail)
public void initCustomEvent(@Nonnull
java.lang.String type,
boolean bubbles,
boolean cancelable)
public void initCustomEvent(@Nonnull
java.lang.String type,
boolean bubbles)
public void initCustomEvent(@Nonnull
java.lang.String type)