mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(modal): update docs
This commit is contained in:
@@ -25,9 +25,9 @@ import {Animation} from '../../animations/animation';
|
||||
* "modal" logic within it, but uses `NavParams` no differently than a
|
||||
* standard page.
|
||||
*
|
||||
* * @usage
|
||||
* @usage
|
||||
* ```ts
|
||||
* import {Modal, NavController, NavParams} from 'ionic/ionic';
|
||||
* import {Page, Modal, NavController, NavParams} from 'ionic/ionic';
|
||||
*
|
||||
* @Page(...)
|
||||
* class HomePage {
|
||||
@@ -58,9 +58,8 @@ import {Animation} from '../../animations/animation';
|
||||
* the submit button could pass the updated profile data, then dismiss the
|
||||
* modal.
|
||||
*
|
||||
* @usage
|
||||
* ```ts
|
||||
* import {Modal, NavController} from 'ionic/ionic';
|
||||
* import {Page, Modal, NavController} from 'ionic/ionic';
|
||||
*
|
||||
* @Page(...)
|
||||
* class HomePage {
|
||||
|
||||
Reference in New Issue
Block a user