cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [3/3] git commit: CB-4616 Returned index 0 was not documented for notification.prompt
Date Fri, 16 May 2014 01:59:46 GMT
CB-4616 Returned index 0 was not documented for notification.prompt


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/5001fa32
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/5001fa32
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/5001fa32

Branch: refs/heads/master
Commit: 5001fa326b4a3631e69acabb61d7eb67ecbb4715
Parents: 5faec77
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Thu May 15 18:57:27 2014 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Thu May 15 18:57:27 2014 -0700

----------------------------------------------------------------------
 doc/index.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/5001fa32/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 7d3a3f4..97ebf92 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -153,7 +153,7 @@ Displays a native dialog box that is more customizable than the browser's
`promp
 
 - __message__: Dialog message. _(String)_
 
-- __promptCallback__: Callback to invoke when a button is pressed. _(Function)_
+- __promptCallback__: Callback to invoke with index of button pressed (1, 2, or 3) or when
the dialog is dismissed without a button press (0). _(Function)_
 
 - __title__: Dialog title _(String)_ (Optional, defaults to `Prompt`)
 
@@ -169,6 +169,8 @@ contains the following properties:
 
 - __buttonIndex__: The index of the pressed button. _(Number)_ Note that the index uses one-based
indexing, so the value is `1`, `2`, `3`, etc.
 
+
+
 - __input1__: The text entered in the prompt dialog box. _(String)_
 
 ### Example


Mime
View raw message