has been deprecated. Notifications now default to not triggering the dismiss action when the body is clicked
Setting the __NOOP__ field on an action with a type allows you to override default user interaction with a notification.
__NOOP__
const notification = { //... onSelect: {__NOOP__: ActionNoopType.EVENT_DISMISS}}; Copy
const notification = { //... onSelect: {__NOOP__: ActionNoopType.EVENT_DISMISS}};
When a user clicks the notification body, the notification will not be dismissed and no event will be raised to the client application.
ActionBodyClickType.DISMISS_EVENT
ActionTrigger.SELECT/onSelect
Optional
Depracated
has been deprecated. Notifications now default to not triggering the dismiss action when the body is clicked
Setting the
__NOOP__
field on an action with a type allows you to override default user interaction with a notification.Example
When a user clicks the notification body, the notification will not be dismissed and no event will be raised to the client application.
ActionBodyClickType.DISMISS_EVENT
is only supported byActionTrigger.SELECT/onSelect