15 lines
321 B
JavaScript
15 lines
321 B
JavaScript
import OuterHTML from './outer-html';
|
|
import { computed } from '@ember/object';
|
|
|
|
export default OuterHTML.extend({
|
|
glyph: computed('type', function() {
|
|
if (this.type == 'add') {
|
|
return 'plus-plain';
|
|
} else {
|
|
return 'chevron-right';
|
|
}
|
|
}),
|
|
tagName: '',
|
|
supportsDataTestProperties: true,
|
|
});
|