This package has been deprecated

Author message:

This package was intended to be used with @saekitominaga/customelements-tooltip-trigger, but since that version has been upgraded to work on its own, this package is no longer needed. This package is no longer needed and will not be maintained.

@saekitominaga/customelements-tooltip
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

Tooltip UI component by Custom Elements

npm version

Implement tooltip UI component by Custom Elements.

Demo

Examples

<x-tooltip
  open=""
  close-text="Close"
  close-src="/assets/tooltip-close.svg"
>
</x-tooltip>

Attributes

open [optional]
Whether the tooltip are visible.
close-text [optional]
The text of the close button in the tooltip (Image alternative text). The default value is `Close`.
close-src [optional]
The address of the image resource for the close button in the tooltip. The default is a gray x button (SVG format).

Package Sidebar

Install

npm i @saekitominaga/customelements-tooltip

Weekly Downloads

4

Version

1.2.2

License

MIT

Unpacked Size

36.7 kB

Total Files

9

Last publish

Collaborators

  • saekitominaga