mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
MATERIAL
This commit is contained in:
@@ -7,7 +7,7 @@ import {ThirdPage} from './third-page';
|
||||
|
||||
@IonicView({
|
||||
template: '' +
|
||||
'<ion-navbar *navbar>' +
|
||||
'<ion-navbar *navbar primary>' +
|
||||
'<ion-title>First Page: {{ val }}</ion-title>' +
|
||||
'<ion-nav-items primary>' +
|
||||
'<button>P1</button>' +
|
||||
|
||||
@@ -5,7 +5,7 @@ import {FirstPage} from './first-page';
|
||||
|
||||
@IonicView({
|
||||
template: `
|
||||
<ion-navbar *navbar><ion-title>Second Page Header</ion-title></ion-navbar>
|
||||
<ion-navbar *navbar primary><ion-title>Second Page Header</ion-title></ion-navbar>
|
||||
<ion-content class="padding">
|
||||
<p><button primary (click)="pop()">Pop (Go back to 1st)</button></p>
|
||||
<p><button primary nav-pop>Pop with NavPop (Go back to 1st)</button></p>
|
||||
|
||||
Reference in New Issue
Block a user