Skip to content

Tooltip 文字提示

基础用法

查看代码
vue
<template>
  <e-tooltip content="Hello!">
    <e-button type="primary">Tooltip</e-button>
  </e-tooltip>
</template>

Tooltip API

Props

属性名说明类型默认值
v-model显示状态,用于主动控制显隐booleanfalse
placement出现位置
enum 
'请选择'
content提示内容string--
disabled禁用booleanfalse
trigger触发方式'hover' | 'click''hover'