docs: type names changed from wrapper to primitive (#31752)
This commit is contained in:
parent
246884c4fb
commit
e6b1d95a1c
115 changed files with 1685 additions and 1685 deletions
|
@ -8,10 +8,10 @@ _This class is not exported from the `'electron'` module. It is only available a
|
|||
### `new TouchBarPopover(options)`
|
||||
|
||||
* `options` Object
|
||||
* `label` String (optional) - Popover button text.
|
||||
* `label` string (optional) - Popover button text.
|
||||
* `icon` [NativeImage](native-image.md) (optional) - Popover button icon.
|
||||
* `items` [TouchBar](touch-bar.md) - Items to display in the popover.
|
||||
* `showCloseButton` Boolean (optional) - `true` to display a close button
|
||||
* `showCloseButton` boolean (optional) - `true` to display a close button
|
||||
on the left of the popover, `false` to not show it. Default is `true`.
|
||||
|
||||
### Instance Properties
|
||||
|
@ -20,7 +20,7 @@ The following properties are available on instances of `TouchBarPopover`:
|
|||
|
||||
#### `touchBarPopover.label`
|
||||
|
||||
A `String` representing the popover's current button text. Changing this value immediately updates the
|
||||
A `string` representing the popover's current button text. Changing this value immediately updates the
|
||||
popover in the touch bar.
|
||||
|
||||
#### `touchBarPopover.icon`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue