Skip to content

Center Morph Modal ​

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

预览 ​

用法 ​

vue
<script setup lang="ts">
import { CenterMorphModal } from 'beui-vue'
</script>
<template><CenterMorphModal label="beUI Pro"><template #trigger>Open modal</template><strong>beUI Pro</strong><h2>Ship the whole experience.</h2><p>Go beyond individual components with animated sections and complete templates.</p><ul><li>Premium animated sections</li><li>Complete templates</li><li>Editable source</li></ul></CenterMorphModal></template>

API ​

trigger 插槽定义触发器文本。面板从触发器位置展开,v-model:open 控制开关,label 提供无障碍名称。

还原验收 ​

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