toolbar title

This commit is contained in:
Adam Bradley
2015-03-21 21:11:42 -05:00
parent c142885145
commit 316e12e6c1
3 changed files with 6 additions and 3 deletions

View File

@@ -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: `

View File

@@ -47,7 +47,7 @@
background: purple;
.back-button-icon {
background: blue;
background: orange;
}
}

View File

@@ -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>