feat: add tray.getTitle() (#17385)

* feat: add tray.getTitle

* fix spec
This commit is contained in:
Shelley Vohr 2019-03-18 12:40:34 -07:00 committed by GitHub
parent 38d75010c7
commit 2fb9085e5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 53 additions and 14 deletions

View file

@ -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_