*notification
*notification delegates to
sercrod.notification to show local notifications or handle
local notification permissions from an explicit user action.
n-notification is a star-less alias.
<button
type="button"
*notification.request-permissions
*response="'permissions'">
Request permission
</button>
<button
type="button"
*notification.show="{ title: notice.title, body: notice.body }"
*response="'lastNotification'">
Show notification
</button>
The adapter may use browser Notification API, Capacitor
LocalNotifications, or a project bridge. Results are written to
$notification and placed with *response when
present. Permission results are also written to
$notification_permissions.
When no notification display backend or permission is available, show
returns false and the directive dispatches
sercrod-notification-fallback. This directive does not
implement push notification registration, server delivery, background
synchronization, persistence, sharing, or navigation.