Fixed #134 - secondary header content

This commit is contained in:
Max Lynch
2013-11-15 21:16:22 -06:00
parent cfa2aa6401
commit 7b317fb7ff
3 changed files with 15 additions and 0 deletions

View File

@ -23627,6 +23627,9 @@ angular.module('ionic.ui.content', [])
if(attr.hasHeader) {
c.addClass('has-header');
}
if(attr.hasSubheader) {
c.addClass('has-subheader');
}
if(attr.hasFooter) {
c.addClass('has-footer');
}

View File

@ -41,6 +41,9 @@ angular.module('ionic.ui.content', [])
if(attr.hasHeader) {
c.addClass('has-header');
}
if(attr.hasSubheader) {
c.addClass('has-subheader');
}
if(attr.hasFooter) {
c.addClass('has-footer');
}

View File

@ -54,11 +54,20 @@
title="'Title'"
type="bar-primary"></header-bar>
<div class="bar bar-subheader">
<div class="button-bar">
<a class="button">Success</a>
<a class="button">Warning</a>
<a class="button">Danger</a>
</div>
</div>
<content
on-refresh="onRefresh()"
on-refresh-opening="onRefreshOpening(amount)"
refresh-complete="refreshComplete"
has-header="true"
has-subheader="true"
has-footer="true"
>
<refresher></refresher>