Events are now fetch from the API

This commit is contained in:
Laurent
2025-03-18 13:48:37 +01:00
parent 0554c94946
commit a056a8a921
11 changed files with 129 additions and 5 deletions

View File

@@ -1,9 +1,17 @@
<script setup lang="ts">
let value;
const emit = defineEmits(['update:value']);
// Method to handle the update
const updateValue = (event : any) => {
emit('update:value', event.target.value);
};
</script>
<template>
<input class="input-field" />
<input class="input-field" :value="value" @input="updateValue" />
</template>
<style scoped>