@lynx-js/lynxtron / NotificationConstructorOptions
NotificationConstructorOptions
Properties
actions? macOS
Actions to add to the notification.
Defined in
body?
The body text of the notification, which will be displayed below the title or subtitle.
Defined in
closeButtonText? macOS
A custom title for the close button of an alert. An empty string will cause the default localized text to be used.
Defined in
hasReply? macOS
Whether or not to add a reply option to the notification.
Defined in
icon?
An icon to use in the notification.
Defined in
replyPlaceholder? macOS
The placeholder to write in the reply input field.
Defined in
silent?
Whether to show the notification without sound.
Defined in
sound? macOS
The name of the sound file to play when the notification is shown.
Defined in
subtitle? macOS
A subtitle for the notification, which will be displayed below the title.
Defined in
timeoutType? Windows
The timeout duration of the notification. Can be 'default' or 'never'.
Defined in
title?
A title for the notification, which will be shown at the top of the notification window when it is shown.
Defined in
toastXml? Windows
A custom XML string to use for the toast notification.
Defined in
urgency? linux
The urgency level of the notification. Can be 'normal', 'critical', or 'low'.
Defined in