docs(select): update

This commit is contained in:
Benjamin Canac
2024-09-03 16:23:06 +02:00
parent c2b9948a07
commit b6cb72de64
12 changed files with 677 additions and 55 deletions

View File

@@ -0,0 +1,12 @@
<script setup lang="ts">
const open = ref(false)
const items = ref(['Backlog', 'Todo', 'In Progress', 'Done'])
defineShortcuts({
o: () => open.value = !open.value
})
</script>
<template>
<USelect v-model:open="open" default-value="Backlog" :items="items" />
</template>