Documentation

This commit is contained in:
EddyVerbruggen 2014-01-25 16:57:45 +01:00
parent 596a0401e4
commit 68af866a2e

View File

@ -1,6 +1,6 @@
# PhoneGap Toast plugin # PhoneGap Toast plugin
for Android and iOS, by [Eddy Verbruggen](@eddyverbruggen) for Android and iOS, by [Eddy Verbruggen](http://www.twitter.com/@eddyverbruggen)
## 0. Index ## 0. Index
@ -98,8 +98,8 @@ Toast.js is brought in automatically. There is no need to change or add anything
## 4. Usage ## 4. Usage
You have two choices to make when showing a Toast: where to show it and for how long. You have two choices to make when showing a Toast: where to show it and for how long.
* show(message, duration, position) * show(message, duration, position)
** duration: short / long * duration: short / long
** position: top / center / bottom * position: top / center / bottom
You can also use any of these convenience methods: You can also use any of these convenience methods:
* showShortTop(message) * showShortTop(message)