Skip to content

Commit 5f42b93

Browse files
feat(addon/components/paper-card-image): migrates to tagless native class.
1 parent f38c889 commit 5f42b93

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<img class="md-card-image" alt={{@alt}} src={{@src}} title={{@title}} ...attributes>
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable ember/no-classic-components, ember/require-tagless-components, prettier/prettier */
1+
/* eslint-disable ember/no-classic-components */
22
/**
33
* @module ember-paper
44
*/
@@ -8,8 +8,6 @@ import Component from '@ember/component';
88
* @class PaperCardImage
99
* @extends Ember.Component
1010
*/
11-
export default Component.extend({
12-
tagName: 'img',
13-
classNames: ['md-card-image'],
14-
attributeBindings: ['src', 'title', 'alt']
15-
});
11+
export default class PaperCardImage extends Component {
12+
tagName = '';
13+
}

0 commit comments

Comments
 (0)