Function · Desktop Services
showNotification
Displays a native desktop notification.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
TypeScript
showNotification(options: DesktopNotificationOptions): Promise<void>Parameters
| Name | Type | Description |
|---|---|---|
options | DesktopNotificationOptions | Notification title, body, and sound options. |
Returns
Promise<void> — A promise completed after the notification request is submitted.
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1484 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.