12 lines
239 B
JavaScript
12 lines
239 B
JavaScript
Vue.component('light-hue-scene', {
|
|
template: '#tmpl-light-hue-scene',
|
|
props: ['id','name'],
|
|
|
|
methods: {
|
|
clicked: function(event) {
|
|
this.$emit('input', {id: this.id, name: this.name});
|
|
},
|
|
},
|
|
});
|
|
|