mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
docs(toast): Add import statement for Toast
Makes it clear how to import the Toast component into projects.
This commit is contained in:
parent
43be0ede7c
commit
b3438c19c8
@ -16,6 +16,8 @@ export interface ToastOptions {
|
||||
*
|
||||
* @usage
|
||||
* ```ts
|
||||
* import {Toast} from 'ionic-native';
|
||||
*
|
||||
* Toast.show("I'm a toast", 5000, "center").subscribe(
|
||||
* toast => {
|
||||
* console.log(toast);
|
||||
|
Loading…
Reference in New Issue
Block a user