Back to Tooltip-guidelines
JavaScriptThe latest version of this package is: 0.18.6, Opens in new window
Tooltip javascript
This component is compatible with ESM (ES6 module) and IIFE. See documentation examples below.
To be able to install this component, please refer to the Project Setup documentation.
$ npm i @ids-js/tooltip@0.18.6
Table of Contents
Usage
With the given markup:
<abbr data-tooltip="A tooltip" title="A tooltip" class="if"
>graphical user interface</abbr
>
Or:
<span data-tooltip="A tooltip" title="A tooltip" class="if tooltip"
>graphical user interface</span
>
You can initialize the tooltip behaviour:
import { init as IDSTooltip } from '@ids-js/tooltip';
IDSTooltip();
Changelog
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.17.0 (2021-10-21)
Code Refactoring
- ๐ก Remove support for CommonJS (9f84d9a)
BREAKING CHANGES
- ๐งจ We have removed the support for CommonJS for all @ids-js packages
0.16.1 (2021-10-21)
Bug Fixes
- Use common for cjs and main for esm (96f673d)