mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
Nav push and pop
This commit is contained in:
2
GUIDE.md
2
GUIDE.md
@ -67,7 +67,7 @@ There are also shortcut directives we can use for links much like `ui-sref`, suc
|
|||||||
`nav-push` and `nav-pop` which can be used like this:
|
`nav-push` and `nav-pop` which can be used like this:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<button nav-push="ContactDetail({contact: contact})">See contact</button>
|
<button [nav-push]="myContactComponent" [push-data]="contact">See contact</button>
|
||||||
```
|
```
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
Reference in New Issue
Block a user