1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import Component from '@ember/component'; import layout from '../templates/components/el-card-header'; import {computed, get} from "@ember/object"; import {htmlSafe} from '@ember/template'; export default Component.extend({ layout, classNames: ['el-card__header'], attributeBindings: ['style'], style: computed('bodyStyle', function () { return htmlSafe(get(this, 'bodyStyle')); }), }); |