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)

0.14.0 (2021-10-14)

Features

  • ๐ŸŽธ Add tooltip and file upload js package (cff82af), closes #467386
Contact us, Opens in new window