Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Notifications

Send local notifications using the platform’s notification system.

Usage

import { sendNotification } from "perry/system";

sendNotification("Download Complete", "Your file has been downloaded successfully.");

Platform Implementation

PlatformBackend
macOSUNUserNotificationCenter
iOSUNUserNotificationCenter
AndroidNotificationManager
WindowsToast notifications
LinuxGNotification
WebWeb Notification API

Permissions: On macOS, iOS, and Web, the user may need to grant notification permissions. On first use, the system will prompt for permission automatically.

Next Steps