Add more explicit types to docs for TouchBar
This commit is contained in:
parent
e315116336
commit
f97ee56c9f
5 changed files with 15 additions and 13 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue