Skip to content

Popover 弹出框 ​

在触发元素旁展示一段富内容(标题 + 正文或自定义插槽)。

基础用法 ​

Props ​

属性说明类型默认值
title标题string''
content正文string''
placement位置'top' | 'bottom' | 'left' | 'right''bottom'
trigger触发方式'click' | 'hover''click'
width面板宽度string | number240
disabled禁用booleanfalse
visible受控显示boolean—

Slots ​

插槽说明
default触发元素
title自定义标题
content自定义正文