Tooltips provides contextual feedback for an element that appears on pointer hover or keyboard focus.
To use the tooltip add the data atrribute data-tooltip="text" OR data-tooltip="true" together with a title attribute.
<a data-tooltip="true" href="#" title="Howdy">Trigger can be any element.</a>
If ever neede after initial page load, you can use following javascript.
<script>
$('#your-element').viTooltip()
</script>
The following stylesheet is required to display this component.
The following javascript is required to display this component.
Usage documentation can be found here.
Changelog
Added
- 29 Jan 2025 - feat(tooltip): adjustable styling for tooltip
- Initial draft