docs(chip): update

This commit is contained in:
Benjamin Canac
2024-07-26 16:13:02 +02:00
parent 2f57c43361
commit bcaca46ccc
7 changed files with 158 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ const items = [
const active = ref('0')
// Note: This is for demonstration purposes only.
// Note: This is for demonstration purposes only. Don't do this at home.
onMounted(() => {
setInterval(() => {
active.value = String((Number(active.value) + 1) % items.length)