Roll
Vue 已实现 · 还原验收 0/1 · 上游演示 · 固定版本源码
预览
用法
vue
<script setup lang="ts">
import { ActionSwap } from 'beui-vue'
const items = [{id:'play',label:'Play'}, {id:'pause',label:'Pause'}]
</script>
<template><ActionSwap :items="items" animation="roll" /></template>API
animation="roll" 滚动替换内容,items 定义操作列表,v-model 同步当前 ID。