Files
scrypted/plugins/core/ui/src/interfaces/Program.vue
2021-09-08 13:19:52 -07:00

24 lines
432 B
Vue

<template>
<span>
<v-btn v-if='device' text color="green" @click='run'>Run Program</v-btn>
</span>
</template>
<script>
import RPCInterface from './RPCInterface.vue'
export default {
mixins: [RPCInterface],
methods: {
onChange() {
this.run();
},
run: function() {
this.rpc({
varargs: true,
}).run();
},
}
};
</script>