mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
toolbar title
This commit is contained in:
@@ -2,7 +2,10 @@ import {NgElement, Component, Template} from 'angular2/angular2'
|
||||
import {Ion} from '../ion'
|
||||
|
||||
@Component({
|
||||
selector: 'ion-toolbar'
|
||||
selector: 'ion-toolbar',
|
||||
bind: {
|
||||
title: 'view-title'
|
||||
}
|
||||
})
|
||||
@Template({
|
||||
inline: `
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
background: purple;
|
||||
|
||||
.back-button-icon {
|
||||
background: blue;
|
||||
background: orange;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ import {Ion} from '../ion'
|
||||
})
|
||||
@Template({
|
||||
inline: `
|
||||
<ion-toolbar>
|
||||
<ion-toolbar view-title="My View Title!!">
|
||||
</ion-toolbar>
|
||||
<div class="container">
|
||||
<content></content>
|
||||
|
||||
Reference in New Issue
Block a user