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