mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-06-30 06:12:08 -06:00
allow passing custom barClasses to ionModal
This commit is contained in:
parent
3e6f41d3d6
commit
e0d08e8e13
1 changed files with 3 additions and 3 deletions
|
|
@ -94,9 +94,9 @@ Template.ionModal.destroyed = function () {
|
|||
|
||||
Template.ionModal.helpers({
|
||||
barClass: function () {
|
||||
var classes = ['bar', 'bar-header', 'bar-stable'];
|
||||
|
||||
return classes.join(' ');
|
||||
var defaultClasses = ['bar', 'bar-header', 'bar-stable'].join(' ');
|
||||
var customClasses = _.isString(this.barClass) ? this.barClass : '';
|
||||
return [defaultClasses, customClasses].join(' ');
|
||||
},
|
||||
|
||||
titleClass: function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue