From c4c145ef6a8c340510f349ce4bc8cec335effc0b Mon Sep 17 00:00:00 2001 From: leethomas Date: Thu, 7 Jan 2016 22:10:34 -0800 Subject: [PATCH] :memo: add defaultButtonIndex to dialog docs --- docs/api/dialog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/dialog.md b/docs/api/dialog.md index 80a5289..ecab70a 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -87,6 +87,7 @@ will be passed via `callback(filename)` `"warning"`. On Windows, "question" displays the same icon as "info", unless you set an icon using the "icon" option. * `buttons` Array - Array of texts for buttons. + * `defaultButtonIndex` Integer - Index of the button in the buttons array which will be selected by default when the message box opens. * `title` String - Title of the message box, some platforms will not show it. * `message` String - Content of the message box. * `detail` String - Extra information of the message. -- 2.7.4