// to show default tooltip in html, add title attribute
<p title="This is a tooltip">Hover here</p>
## DISPLAY TOOLTIP IF LINK IS HOVER
<a href="youtube link" title="My Youtube Channel">Youtube</a>
NOTE: CAN ALSO BE USED IN DIFFERENT HTML TAGS
<button type="button" class="btn btn-secondary"
data-bs-toggle="tooltip" data-bs-placement="top"
data-bs-custom-class="custom-tooltip"
data-bs-title="This top tooltip is themed via CSS variables.">
Custom tooltip
</button>
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
...
}
dependencies {
implementation 'com.github.MarcinKap:Compose_Animation_Tooltips_Library:1.0.0'
}