John Cowen 5e98ef3f51 ui: Add Ref component (#7442)
* ui: Add Ref component
2020-05-12 17:14:16 +00:00

10 lines
215 B
JavaScript

import Component from '@ember/component';
import { set } from '@ember/object';
export default Component.extend({
tagName: '',
didReceiveAttrs: function() {
set(this.target, this.name, this.value);
},
});