Options
All
  • Public
  • Public/Protected
  • All
Menu

Set the BODY_CLICK field on an action with a type to allow the end-user to click the body of the notification to dismiss it. This was the default behavior in earlier releases. An event is also sent to the client application.

Note the following restrictions:

  • This override is ignored if buttons are passed to notification options.
  • The ActionBodyClickType.DISMISS_EVENT is supported only by ActionTrigger.SELECT/onSelect
example
const notification = {
//...
onSelect: {BODY_CLICK: ActionBodyClickType.DISMISS_EVENT}
};

Hierarchy

  • ActionBodyClick

Index

Properties

Properties

BODY_CLICK?: DISMISS_EVENT

Generated using TypeDoc