mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(toast): add import statement in usage (#12278)
Cannot use ToastController without knowing from where to import it
This commit is contained in:
@@ -37,6 +37,8 @@ import { ToastOptions } from './toast-options';
|
||||
*
|
||||
* @usage
|
||||
* ```ts
|
||||
* import { ToastController } from 'ionic-angular';
|
||||
*
|
||||
* constructor(private toastCtrl: ToastController) {
|
||||
*
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user