This is documentation for Stream Chat Angular SDK v4, which is nolonger actively maintained. For up-to-date documentation, see the latest version (v5).

NotificationComponent

The Notification component displays a notification in the notification list.

Basic Usage

<stream-notification type="success">
  File upload was successfuly
</stream-notification>

Customization

You can provide your own notification component by the CustomTemplatesService

Inputs and outputs

type

type: undefined | NotificationType

The type of the notification

Defined in

lib/notification/notification.component.ts:16


content

content: undefined | TemplateRef<void>

The content of the notification (can also be provided using ng-content)

Defined in

lib/notification/notification.component.ts:20

© Getstream.io, Inc. All Rights Reserved.