mirror of https://github.com/hashicorp/consul
13 lines
319 B
JavaScript
13 lines
319 B
JavaScript
import Component from '@ember/component';
|
|
import { inject as service } from '@ember/service';
|
|
|
|
export default Component.extend({
|
|
tagName: '',
|
|
dom: service('dom'),
|
|
actions: {
|
|
change: function(option, e) {
|
|
this.onchange(this.dom.setEventTargetProperty(e, 'selected', selected => option));
|
|
},
|
|
},
|
|
});
|