All guides
INotifications
Show a local notification from the page.
- Wraps: Notifications API
- MDN: Notifications API
- Home:
Rask.Core.Browser(all hosts) - Shape: one-shot
- Availability: Web/Server ✅ · PWA/WASM ✅
Transport-agnostic; the JS helper ships on Server only under AddRaskPwa. Tag maps to the notification
identifier, so a same-tag notification replaces the previous one.
A permission the user has denied does not re-prompt.
RequestPermissionAsync()returnsDeniedrather than pretending a prompt would help, andShowAsyncthrows as it does for any ungranted permission — the way back is the browser's site settings.