We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1807dab + 48d11ea commit 7e1dbb6Copy full SHA for 7e1dbb6
addon/components/docs-demo/x-example/component.js
@@ -4,5 +4,10 @@ import layout from './template';
4
export default Component.extend({
5
layout,
6
7
- classNames: 'docs-demo-example'
+ classNames: 'docs-demo-example',
8
+
9
+ init() {
10
+ this._super(...arguments);
11
+ this.set('elementId', 'example-' + this.get('name'));
12
+ }
13
});
0 commit comments