Bounce Sidebar
Vue 已实现 · 还原验收 0/1 · 上游演示 · 固定版本源码
预览
用法
vue
<script setup lang="ts">
import { ref } from 'vue'
import { BounceSidebar } from 'beui-vue'
const active = ref('overview')
const items = ['Overview','Components','Motion','Templates','Changelog'].map(label => ({ id:label.toLowerCase(),label }))
</script>
<template><BounceSidebar v-model="active" :items="items" label="Explore beUI" /></template>API
items 提供标签与可选链接,v-model 为当前项 ID。活动标记沿列表弹动。