@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="NotificationEvent")
public class NotificationEvent
extends ExtendableEvent
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
NotificationEvent(java.lang.String type,
NotificationEventInit eventInitDict)
The NotificationEvent() constructor creates a new NotificationEvent object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
action()
Returns the string ID of the notification button the user clicked.
|
Notification |
notification()
The notification read-only property of the NotificationEvent interface returns the instance of the Notification that was clicked to fire the event.
|
waitUntilbubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic NotificationEvent(@Nonnull
java.lang.String type,
@Nonnull
NotificationEventInit eventInitDict)
@JsProperty(name="action") @Nonnull public java.lang.String action()
@JsProperty(name="notification") @Nonnull public Notification notification()