add iconPosition property to touch bar buttons

This commit is contained in:
Samuel Attard 2017-04-17 12:26:33 +12:00 committed by Kevin Sawicki
parent 4d9977dac1
commit 11c7c107a9
3 changed files with 12 additions and 1 deletions

View file

@ -11,6 +11,7 @@ Process: [Main](../tutorial/quick-start.md#main-process)
* `backgroundColor` String (optional) - Button background color in hex format,
i.e `#ABCDEF`.
* `icon` [NativeImage](native-image.md) (optional) - Button icon.
* `iconPosition` String - Can be `left`, `right` or `overlay`.
* `click` Function (optional) - Function to call when the button is clicked.
### Instance Properties