Options
All
  • Public
  • Public/Protected
  • All
Menu

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:

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.

Hierarchy

  • ActionNoop

Index

Properties

Properties

Optional __NOOP__

__NOOP__?: EVENT_DISMISS

Generated using TypeDoc