mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-29 02:21:41 +00:00
Refactored client side with vue cli
This commit is contained in:
23
chameleon-client/src/components/InputTab.vue
Normal file
23
chameleon-client/src/components/InputTab.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div id="InputTab">
|
||||
<Slider v-for="slider in sliders" v-bind:key="slider.id" v-model="slider.value"></Slider>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'InputTab',
|
||||
data () {
|
||||
return {
|
||||
sliders: [
|
||||
{ id: 'lightning', value: 25 },
|
||||
{ id: 'saturation', value: 30 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user