Next: (hygguile sxml), Previous: (hygguile hygguile), Up: API
Generate a client-side script block that handles rendering notifications from URL parameters.
This macro sets up a DOM listener evaluating parameters matching
notify-title and notify-body from the window URL
properties. When populated, it generates the corresponding component
subtree inside the layout tray wrapper designated by the element
identifier notification-tray.
A space-separated string containing CSS layout configuration targeting the card header text elements.
The client-side callback script evaluated whenever a dismiss interaction triggers.
A space-separated string containing structural component icon identifiers and layout options.
A space-separated string containing CSS layout parameters handling the alignment properties of the text boundaries.
A space-separated string containing global structural box presentation layouts applied directly onto the notification layout wrapper block.
(show-notifications-from-url-js #:header-classes "text-lg font-bold")
Generate a JavaScript IIFE string that pushes notification parameters into the URL query string and reloads the window.
The fallback string title of the notification.
The core informational content string of the notification.
The visibility timeline limit in milliseconds before the notification is cleared.
The fallback typography class string applied to the notification’s description field.
(trigger-notification-function-js #:title "Alert" #:body "System update complete.")
Next: (hygguile sxml), Previous: (hygguile hygguile), Up: API