Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun getById(id: String): Promise<TrayIcon?>

Gets a tray icon using the provided id.

Link copied to clipboard
external fun new(options: TrayIconOptions = definedExternally): Promise<TrayIcon>

Creates a new {@linkcode TrayIcon}

Link copied to clipboard
external fun removeById(id: String): Promise<Void>

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