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

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 ActionBodyClickType.DISMISS_EVENT is only supported by ActionTrigger.SELECT/onSelect
  • Hierarchy

    • ActionNoop

    Properties

    Properties

    __NOOP__?: EVENT_DISMISS

    Generated using TypeDoc