mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-23 05:21:19 +08:00
docs(toast): fix parameter type (#230)
In the usage example the duration was displayed as a number instead of the actual string parameter.
This commit is contained in:
parent
e8a108d92d
commit
d42780daca
@ -47,7 +47,7 @@ export interface ToastOptions {
|
||||
*
|
||||
*
|
||||
*
|
||||
* Toast.show("I'm a toast", 5000, "center").subscribe(
|
||||
* Toast.show("I'm a toast", "5000", "center").subscribe(
|
||||
* toast => {
|
||||
* console.log(toast);
|
||||
* }
|
||||
|
Loading…
x
Reference in New Issue
Block a user