mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(alert): add import in usage example (#10434)
add : `import { AlertController } from 'ionic-angular';` in usage section
This commit is contained in:
@@ -132,6 +132,9 @@ export class Alert extends ViewController {
|
||||
*
|
||||
* @usage
|
||||
* ```ts
|
||||
*
|
||||
* import { AlertController } from 'ionic-angular';
|
||||
*
|
||||
* constructor(private alertCtrl: AlertController) {
|
||||
*
|
||||
* }
|
||||
|
||||
Reference in New Issue
Block a user