mirror of
https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin.git
synced 2025-02-24 10:12:53 +08:00
README.md - replaced , with : for valid JSON in success callback example
This commit is contained in:
parent
aa1a771f7b
commit
4c65555aca
@ -199,7 +199,7 @@ called again. You can distinguish between those events of course:
|
||||
duration: "short",
|
||||
position: "bottom",
|
||||
addPixelsY: -40, // (optional) added a negative value to move it up a bit (default 0)
|
||||
data: {'foo','bar'} // (optional) pass in a JSON object here (it will be sent back in the success callback below)
|
||||
data: {'foo':'bar'} // (optional) pass in a JSON object here (it will be sent back in the success callback below)
|
||||
},
|
||||
// implement the success callback
|
||||
function(result) {
|
||||
|
Loading…
Reference in New Issue
Block a user