diff --git a/dist/js/ionic-angular.js b/dist/js/ionic-angular.js index 3c841e3d87..73ed3e6988 100644 --- a/dist/js/ionic-angular.js +++ b/dist/js/ionic-angular.js @@ -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'); } diff --git a/js/ext/angular/src/directive/ionicContent.js b/js/ext/angular/src/directive/ionicContent.js index 2270187989..074324dd83 100644 --- a/js/ext/angular/src/directive/ionicContent.js +++ b/js/ext/angular/src/directive/ionicContent.js @@ -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'); } diff --git a/js/ext/angular/test/content.html b/js/ext/angular/test/content.html index 4382b1d1ac..d6d3c7146c 100644 --- a/js/ext/angular/test/content.html +++ b/js/ext/angular/test/content.html @@ -54,11 +54,20 @@ title="'Title'" type="bar-primary"> +
+
+ Success + Warning + Danger +
+
+