继承
none
用法
<span v-Tooltip="'This is a tooltip.'">Hover Me</span>
属性
名称 |
类型 |
描述 |
默认 |
tooltipCls |
string |
提示框样式类。 |
null |
tooltipStyle |
Object |
提示框内联样式。 |
null |
content |
string|TooltipContentComponent |
提示框内容。 |
null |
component |
String,Object,Function |
显示提示框内容组件。 |
null |
propsData |
Object |
支撑传递给组件。 |
null |
position |
string |
提示框的位置。可选的值:'left','right','top','bottom'.。 |
bottom |
trackMouse |
boolean |
使提示框与鼠标一起移动。 |
false |
deltaX |
number |
与提示框位置的水平距离。 |
0 |
deltaY |
number |
与提示框位置的垂直距离。 |
0 |
showDelay |
number |
显示提示框的时间延迟。 |
200 |
hideDelay |
number |
隐藏提示框的时间延迟。 |
100 |
showEvent |
string |
使提示框出现的事件。 |
mouseenter |
hideEvent |
string |
使提示框消失的事件。 |
mouseleave |
事件
名称 |
参数 |
描述 |
tooltipShow |
none |
显示提示框时触发。 |
tooltipHide |
none |
隐藏提示框时触发。 |