Add more explicit types to docs for TouchBar

This commit is contained in:
Samuel Attard 2017-03-04 16:14:41 +11:00
parent e315116336
commit f97ee56c9f
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
5 changed files with 15 additions and 13 deletions

View file

@ -19,15 +19,15 @@ The following properties are available on instances of `TouchBarButton`:
#### `touchBarButton.label`
The button's current text. Changing this value immediately updates the button
A `String` representing the button's current text. Changing this value immediately updates the button
in the touch bar.
#### `touchBarButton.backgroundColor`
The button's current background color. Changing this value immediately updates
A `String` hex code representing the button's current background color. Changing this value immediately updates
the button in the touch bar.
#### `touchBarButton.icon`
The button's current icon. Changing this value immediately updates the button
A `NativeImage` representing the button's current icon. Changing this value immediately updates the button
in the touch bar.