Skip to content

yimian/ym-tooltip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ym-tooltip

NPM LICENSE

ym-tooltip is a tooltip component for PC and Mobile based on el-tooltip.

It solves the problem that the el-tooltips in mobile don't disappear when scroll the screen.

Getting Started

To begin with, make sure that your project uses element, then install ym-tooltip:

npm i ym-tooltip -s

Finally, you can replace el-tooltip by ym-tooltip wherever like this:

// before
<el-tooltip class="item" effect="dark" content="Top Left 提示文字" placement="top-start">
  <el-button>上左</el-button>
</el-tooltip>

// now
<ym-tooltip class="item" effect="dark" content="Top Left 提示文字" placement="top-start">
  <el-button>上左</el-button>
</ym-tooltip>

About

tooltip component for PC and Mobile based on el-tooltip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published