10 lines
264 B
JavaScript
10 lines
264 B
JavaScript
export default Ember.Controller.extend({
|
|
styleCategory: null,
|
|
|
|
backgroundClass: function() {
|
|
var id = this.get('styleCategory.id');
|
|
if (Em.isNone(id)) { return; }
|
|
return "category-" + this.get('styleCategory.id');
|
|
}.property('styleCategory')
|
|
});
|