Merge pull request #7374 from electron/fixup-return-values
Update docs to contain more specific return values
This commit is contained in:
commit
e1d68fa3cd
11 changed files with 28 additions and 25 deletions
|
@ -1077,7 +1077,7 @@ The `buttons` is an array of `Button` objects:
|
|||
toolbar.
|
||||
* `click` Function
|
||||
* `tooltip` String (optional) - The text of the button's tooltip.
|
||||
* `flags` Array (optional) - Control specific states and behaviors of the
|
||||
* `flags` String[] (optional) - Control specific states and behaviors of the
|
||||
button. By default, it is `['enabled']`.
|
||||
|
||||
The `flags` is an array that can include following `String`s:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue