build: convert touch-bar to typescript (#24511)
This commit is contained in:
parent
3f37ff87d2
commit
4c3da359fc
7 changed files with 491 additions and 366 deletions
|
@ -41,6 +41,10 @@ the button in the touch bar.
|
|||
A `NativeImage` representing the button's current icon. Changing this value immediately updates the button
|
||||
in the touch bar.
|
||||
|
||||
#### `touchBarButton.iconPosition`
|
||||
|
||||
A `String` - Can be `left`, `right` or `overlay`. Defaults to `overlay`.
|
||||
|
||||
#### `touchBarButton.enabled`
|
||||
|
||||
A `Boolean` representing whether the button is in an enabled state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue