Back to Tooltip-guidelines

JavaScriptThe latest version of this package is: 0.17.4, 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.17.4

Table of Contents


With the given markup:

<abbr data-tooltip="A tooltip" title="A tooltip" class="if"
  >graphical user interface</abbr


<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';

Contact us, Opens in new window