Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INewPortalNotificationRequest

Request for creating a new notification.

An example for creating a notification

example

{
  type: 'notification:create',
  selector: {
     type: 'notification:analytics:selector',
     value: 'some.analytics.id'
  },
  contents: {
     tag: 'span',
     children: 'hello world'
  }
}

Hierarchy

  • INewPortalNotificationRequest

Index

Properties

Properties

contents

The content to be rendered in the notification.

selector

The selector to use.

type

Must be NotificationNew.

Generated using TypeDoc