mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: add tray.getTitle() (#17385)
* feat: add tray.getTitle * fix spec
This commit is contained in:
@@ -184,7 +184,13 @@ Sets the hover text for this tray icon.
|
||||
|
||||
* `title` String
|
||||
|
||||
Sets the title displayed aside of the tray icon in the status bar (Support ANSI colors).
|
||||
Sets the title displayed next to the tray icon in the status bar (Support ANSI colors).
|
||||
|
||||
#### `tray.getTitle()` _macOS_
|
||||
|
||||
* `title` String
|
||||
|
||||
Returns `String` - the title displayed next to the tray icon in the status bar
|
||||
|
||||
#### `tray.setHighlightMode(mode)` _macOS_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user