A component which shows a notification.
You need to remove the element after you receive the
rtkNotificationDismiss event.
| 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 |
<rtk-notification></rtk-notification><rtk-notification
size="md">
</rtk-notification><script>
const el = document.querySelector("rtk-notification");
el.paused= true;
</script>