Companion

Functions

Link copied to clipboard
fun getById(id: String): ERROR CLASS: Symbol not found for js.promise.Promise<tauri/apps/api/TrayIcon?>

Gets a tray icon using the provided id.

Link copied to clipboard
fun new(options: TrayIconOptions = definedExternally): ERROR CLASS: Symbol not found for js.promise.Promise<tauri/apps/api/TrayIcon>

Creates a new {@linkcode TrayIcon}

Link copied to clipboard
fun removeById(id: String): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>

Removes a tray icon using the provided id from tauri's internal state.