Merge pull request #7374 from electron/fixup-return-values

Update docs to contain more specific return values
This commit is contained in:
Cheng Zhao 2016-09-29 16:44:08 +08:00 committed by GitHub
commit e1d68fa3cd
11 changed files with 28 additions and 25 deletions

View file

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