Skip to content

Bouncy Accordion ​

Vue 已实现 · 还原验收 0/1 · 上游演示 · 固定版本源码

预览 ​

Review the goals, owners, and scope of this release.

用法 ​

vue
<script setup lang="ts">
import { ref } from 'vue'
import { BouncyAccordion } from 'beui-vue'
const active = ref<string|null>('brief')
const items = [
  {id:'brief',title:'Release Brief',description:'Review the goals, owners, and scope of this release.',icon:'▤'},
  {id:'checklist',title:'Launch Checklist',description:'Run the final checks before shipping.',icon:'☑'},
  {id:'notes',title:'Campaign Notes',description:'Collect messaging and creative direction.',icon:'✎'},
  {id:'calendar',title:'Rollout Calendar',description:'Coordinate announcements and staged rollout dates.',icon:'▦'},
  {id:'build',title:'Ship Build',description:'Prepare the production release.',icon:'↑'},
  {id:'archive',title:'Archive Assets',description:'Keep the source files for the next release.',icon:'▣'},
]
</script>
<template><BouncyAccordion v-model="active" :items="items" /></template>

API ​

items 定义条目标题与内容。v-model 指定展开项。方向键、Home、End 移动焦点,回车或空格切换面板。

还原验收 ​

基于 beUI 的独立 Vue 移植,依 MIT 许可证分发。