Skip to content

rtk-notification

A component which shows a notification. You need to remove the element after you receive the rtkNotificationDismiss event.

Properties

| Property | Type | Required | Default | Description | |----------|------|----------|---------|-------------| | iconPack | IconPack | ❌ | defaultIconPack | Icon pack | | notification | Notification | ✅ | - | Message | | paused | boolean | ✅ | - | Stops timeout when true | | size | Size | ✅ | - | Size | | t | RtkI18n | ❌ | useLanguage() | Language |

Usage Examples

Basic Usage

<!-- component.html -->
<rtk-notification></rtk-notification>

With Properties

<!-- component.html -->
<rtk-notification
[notification]="notification"
[paused]="true"
size="md">
</rtk-notification>