Skip to content
PricingReleases

ClientHookApi

Defined in: hooks.ts:151

desktopNotify: (title, body, icon?, destination?) => void

Defined in: hooks.ts:169

string

string

string

string

string

void


getSettings: () => Record<string, unknown>

Defined in: hooks.ts:170

Record<string, unknown>


haptic: object

Defined in: hooks.ts:163

error: () => void

void

success: () => void

void

tap: () => void

void

warning: () => void

void


isWindowFocused: () => boolean

Defined in: hooks.ts:171

boolean


playSound: (name) => void

Defined in: hooks.ts:152

string

void


showToast: (opts, type?) => void

Defined in: hooks.ts:153

unknown[]

string

string

string

string

"error" | "info" | "warning" | "success"

void