Skip to content

FeedbackAPI

Defined in: namespaces.ts:1355

toast(message, options?): Promise<boolean>

Defined in: namespaces.ts:1357

Shows a toast.

string

FeedbackToastOptions

Promise<boolean>


hud(message, options?): Promise<string>

Defined in: namespaces.ts:1359

Shows a HUD panel. Returns handle ID.

string

FeedbackHudOptions

Promise<string>


updateHud(id, options): Promise<true>

Defined in: namespaces.ts:1361

Updates an existing HUD panel.

string

FeedbackHudUpdateOptions

Promise<true>


dismissHud(id): Promise<true>

Defined in: namespaces.ts:1363

Dismisses a HUD panel.

string

Promise<true>


alert(message, options?): Promise<number>

Defined in: namespaces.ts:1365

Shows an NSAlert. Returns 0-based button index.

string

FeedbackAlertOptions

Promise<number>


systemNotification(title, message, options?): Promise<true>

Defined in: namespaces.ts:1367

Sends a system notification.

string

string

FeedbackNotificationOptions

Promise<true>


notify(message, options?): Promise<true>

Defined in: namespaces.ts:1369

Adaptive routing: focused->toast, unfocused->HUD, background->system.

string

FeedbackToastOptions

Promise<true>