Add price checker demo

This commit is contained in:
2023-06-28 21:47:24 +02:00
commit 935fd47980
19 changed files with 1861 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<script setup lang="ts">
const props = defineProps<{
modelValue: string;
}>();
const emits = defineEmits<{
(e: "update:modelValue", value: string): void;
(e: "blur"): void;
(e: "focus"): void;
}>();
</script>
<template>
<input
:value="props.modelValue"
@input="emits('update:modelValue', (<HTMLInputElement>$event.target).value)"
@blur="emits('blur')"
@focus="emits('focus')"
type="text"
/>
</template>