docs: type names changed from wrapper to primitive (#31752)

This commit is contained in:
Milan Burda 2021-11-16 05:13:18 +01:00 committed by GitHub
parent 246884c4fb
commit e6b1d95a1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
115 changed files with 1685 additions and 1685 deletions

View file

@ -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`