2019-04-29 15:19:03 +00:00
|
|
|
import OuterHTML from './outer-html';
|
|
|
|
import { computed } from '@ember/object';
|
2019-02-14 16:04:46 +00:00
|
|
|
|
2019-04-29 15:19:03 +00:00
|
|
|
export default OuterHTML.extend({
|
|
|
|
glyph: computed('type', function() {
|
|
|
|
if (this.type == 'add') {
|
|
|
|
return 'plus-plain';
|
|
|
|
} else {
|
|
|
|
return 'chevron-right';
|
|
|
|
}
|
|
|
|
}),
|
2019-05-09 16:30:20 +00:00
|
|
|
tagName: '',
|
|
|
|
supportsDataTestProperties: true,
|
2019-02-14 16:04:46 +00:00
|
|
|
});
|