43 lines
791 B
Vue
43 lines
791 B
Vue
<script setup>
|
|
import { globalStore } from "../stores/index.js";
|
|
|
|
const store = globalStore();
|
|
</script>
|
|
|
|
<template>
|
|
<div class="reset-menu">
|
|
<div class="form-field">
|
|
<label>
|
|
loop
|
|
<input
|
|
:value="store.loop"
|
|
type="checkbox"
|
|
:checked="store.loop"
|
|
@input="store.toggleLoop()"
|
|
/>
|
|
</label>
|
|
</div>
|
|
<input
|
|
type="button"
|
|
name="next"
|
|
class="next"
|
|
value="next"
|
|
@click="store.toggleNext()"
|
|
/>
|
|
<input
|
|
type="button"
|
|
name="stop"
|
|
class="stop"
|
|
value="stop"
|
|
@click="store.toggleStop()"
|
|
/>
|
|
<input
|
|
type="button"
|
|
name="reset"
|
|
class="reset"
|
|
value="reset"
|
|
@click="store.toggleReset()"
|
|
/>
|
|
</div>
|
|
</template>
|