Popover 气泡卡片

相比于 tooltip 组件,popover 组件可以承载更多复杂的内容。

TIP

popover 组件是在 tooltip 上进行开发的,因而在此不做太多的赘述,相同属性可以去 tooltip 查看。

基础用法

Popover API

Popover Props

参数名描述类型默认值
title标题string——
width组件的宽度string/ number160px
updateVisible显隐切换时的回调函数Function——

Popover Slots

插槽名描述参数
default弹出层的内容——
reference弹出层的触发内容——

Popover Emits

事件名描述类型
update:visible显隐切换时触发Function
after-enter显示后触发Function
after-leave消失后触发Function
before-enter显示前触发Function
before-leave消失前触发Function
上次更新时间: