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

projects/stream-chat-angular/src/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

projects/stream-chat-angular/src/lib/notification/notification.component.ts:20

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Chat Angular v7: <Your Question>