Skip to content

Popper 气泡卡片

说明

默认hover过相关元素时进行tooltip提示

基本用法

Popper API

Popper Attributes

属性名说明类型默认值可选值
place显示位置Stringbottombottom, bottom-start, bottom-end, top, top-start, top-end, left, left-start, left-end, right, right-start, right-end
width宽度String, Number150
title标题String""

Popper Events

名称说明类型参数
show显示时触发Functionshow, event
hide隐藏时触发Functionhide, event

Popper Slots

插槽名称说明
default自定义默认包裹内容
titlepopper标题
contentpopper内容