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,12 +8,12 @@ _This class is not exported from the `'electron'` module. It is only available a
|
|||
### `new TouchBarColorPicker(options)`
|
||||
|
||||
* `options` Object
|
||||
* `availableColors` String[] (optional) - Array of hex color strings to
|
||||
* `availableColors` string[] (optional) - Array of hex color strings to
|
||||
appear as possible colors to select.
|
||||
* `selectedColor` String (optional) - The selected hex color in the picker,
|
||||
* `selectedColor` string (optional) - The selected hex color in the picker,
|
||||
i.e `#ABCDEF`.
|
||||
* `change` Function (optional) - Function to call when a color is selected.
|
||||
* `color` String - The color that the user selected from the picker.
|
||||
* `color` string - The color that the user selected from the picker.
|
||||
|
||||
### Instance Properties
|
||||
|
||||
|
@ -21,10 +21,10 @@ The following properties are available on instances of `TouchBarColorPicker`:
|
|||
|
||||
#### `touchBarColorPicker.availableColors`
|
||||
|
||||
A `String[]` array representing the color picker's available colors to select. Changing this value immediately
|
||||
A `string[]` array representing the color picker's available colors to select. Changing this value immediately
|
||||
updates the color picker in the touch bar.
|
||||
|
||||
#### `touchBarColorPicker.selectedColor`
|
||||
|
||||
A `String` hex code representing the color picker's currently selected color. Changing this value immediately
|
||||
A `string` hex code representing the color picker's currently selected color. Changing this value immediately
|
||||
updates the color picker in the touch bar.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue