mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
Starting for #53 plus more stuff
This commit is contained in:
3
js/ext/angular/src/directive/ionicContent.js
vendored
3
js/ext/angular/src/directive/ionicContent.js
vendored
@ -15,6 +15,9 @@ angular.module('ionic.ui.content', [])
|
||||
return function($scope, $element, $attr) {
|
||||
var c = $element.eq(0);
|
||||
|
||||
if(attr.padded) {
|
||||
c.addClass('padding');
|
||||
}
|
||||
|
||||
if(attr.hasHeader) {
|
||||
c.addClass('has-header');
|
||||
|
||||
Reference in New Issue
Block a user