Skip to content

Cascade ​

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

预览 ​

用法 ​

vue
<script setup lang="ts">
import { ActionSwap } from 'beui-vue'
const items = [{id:'follow',label:'Follow'}, {id:'following',label:'Following'}]
</script>
<template><ActionSwap :items="items" animation="cascade" /></template>

API ​

animation="cascade" 逐字交替。items 指定标签和 ID,@value-change 提供新的 ID 和完整项。

上游变体 ​

还原验收 ​

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