📝 Add docs on image support in atom-shell.
This commit is contained in:
parent
2ff4d56d6d
commit
1a0d8a4aa9
3 changed files with 29 additions and 4 deletions
|
@ -40,7 +40,7 @@ rely on `clicked` event and always attach a context menu to the tray icon.
|
|||
|
||||
### new Tray(image)
|
||||
|
||||
* `image` String
|
||||
* `image` [Image](image.md)
|
||||
|
||||
Creates a new tray icon associated with the `image`.
|
||||
|
||||
|
@ -50,13 +50,13 @@ Emitted when the tray icon is clicked.
|
|||
|
||||
### Tray.setImage(image)
|
||||
|
||||
* `image` String
|
||||
* `image` [Image](image.md)
|
||||
|
||||
Sets the `image` associated with this tray icon.
|
||||
|
||||
### Tray.setPressedImage(image)
|
||||
|
||||
* `image` String
|
||||
* `image` [Image](image.md)
|
||||
|
||||
Sets the `image` associated with this tray icon when pressed.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue