1.0.7 • Published 5 years ago
sebwie-tooltips v1.0.7
#SEBWIE-TOOLTIPS
###1. Description
Javascript and CSS lightweight tooltip library. Applies only to span elements. By default it displays tooltip on top and it changes position automatically
###2. Installation
npm i sebwie-tooltips
###3. Usage
- Add to span element data-tooltip attribute and tooltipped class
<span
class="tooltipped"
data-tooltip = "Hello my Name is Tooltip, I can see div around me">Tooltipped Element<span>
- Map css and js files
<link rel="stylesheet" href="./node_modules/sebwie-tooltips/tooltip.css">
<script src="node_modules/sebwie-tooltips/tooltip.js"></script>
Thank you for downloading and have a nice day ☕
To be able to create customed tooltips please navigate to sebwie-tooltip-custom which will be available at the end of this week