Setting the __NOOP__ field on an action with a type allows you to override default user interaction with a notification.
__NOOP__
For example, creating a notification:
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.
Currently ActionNoopType.EVENT_DISMISS is only supported by ActionTrigger.SELECT/onSelect.
ActionNoopType.EVENT_DISMISS
ActionTrigger.SELECT
onSelect
Generated using TypeDoc
Setting the
__NOOP__
field on an action with a type allows you to override default user interaction with a notification.For example, creating a notification:
When a user clicks the notification body, the notification will not be dismissed and no event will be raised to the client application.
Currently
ActionNoopType.EVENT_DISMISS
is only supported byActionTrigger.SELECT
/onSelect
.