Skip to content

Commit

Permalink
Kiosk touchscreen test - Remove test button (#18)
Browse files Browse the repository at this point in the history
* Added button to test kiosk's touchscreen

* Revert "Added button to test kiosk's touchscreen (#17)"

This reverts commit b1d5172.
  • Loading branch information
s-egge committed May 7, 2024
1 parent b1d5172 commit 4ec7758
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions src/components/sec.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,11 @@
</el-col>
</el-row>
</el-col>
<el-button
id="touchscreen-test-button"
@click="testTouchscreen"
></el-button>
</el-row>
</template>

<script>
export default {
methods: {
testTouchscreen () {
const btn = document.getElementById('touchscreen-test-button')
if (btn.style.background === 'orange') {
btn.style.background = 'none'
} else {
btn.style.background = 'orange'
}
}
}
}
export default {}
</script>

<style scoped lang="scss">
Expand Down Expand Up @@ -123,17 +108,4 @@ video {
background: $--color-white;
color: $--color-black;
}
#touchscreen-test-button {
position: absolute;
top: 0;
left: 0;
z-index: 10;
margin: 0;
padding: 0;
height: 100px;
width: 100px;
border: 1px solid rgba(193, 193, 193, 0.2);
background: none;
}
</style>

0 comments on commit 4ec7758

Please sign in to comment.