mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
Fixed #151
This commit is contained in:
8
dist/js/ionic-angular.js
vendored
8
dist/js/ionic-angular.js
vendored
@ -23625,16 +23625,16 @@ angular.module('ionic.ui.content', [])
|
||||
c.addClass('padding');
|
||||
}
|
||||
|
||||
if(attr.hasHeader) {
|
||||
if(attr.hasHeader == "true") {
|
||||
c.addClass('has-header');
|
||||
}
|
||||
if(attr.hasSubheader) {
|
||||
if(attr.hasSubheader == "true") {
|
||||
c.addClass('has-subheader');
|
||||
}
|
||||
if(attr.hasFooter) {
|
||||
if(attr.hasFooter == "true") {
|
||||
c.addClass('has-footer');
|
||||
}
|
||||
if(attr.hasTabs) {
|
||||
if(attr.hasTabs == "true") {
|
||||
c.addClass('has-tabs');
|
||||
}
|
||||
|
||||
|
||||
8
js/ext/angular/src/directive/ionicContent.js
vendored
8
js/ext/angular/src/directive/ionicContent.js
vendored
@ -38,16 +38,16 @@ angular.module('ionic.ui.content', [])
|
||||
c.addClass('padding');
|
||||
}
|
||||
|
||||
if(attr.hasHeader) {
|
||||
if(attr.hasHeader == "true") {
|
||||
c.addClass('has-header');
|
||||
}
|
||||
if(attr.hasSubheader) {
|
||||
if(attr.hasSubheader == "true") {
|
||||
c.addClass('has-subheader');
|
||||
}
|
||||
if(attr.hasFooter) {
|
||||
if(attr.hasFooter == "true") {
|
||||
c.addClass('has-footer');
|
||||
}
|
||||
if(attr.hasTabs) {
|
||||
if(attr.hasTabs == "true") {
|
||||
c.addClass('has-tabs');
|
||||
}
|
||||
|
||||
|
||||
@ -66,7 +66,7 @@
|
||||
on-refresh="onRefresh()"
|
||||
on-refresh-opening="onRefreshOpening(amount)"
|
||||
refresh-complete="refreshComplete"
|
||||
has-header="true"
|
||||
has-header="false"
|
||||
has-subheader="true"
|
||||
has-footer="true"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user