mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +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:
|
||||
|
||||
```html
|
||||
<button nav-push="ContactDetail({contact: contact})">See contact</button>
|
||||
<button [nav-push]="myContactComponent" [push-data]="contact">See contact</button>
|
||||
```
|
||||
|
||||
```html
|
||||
|
Reference in New Issue
Block a user