Tooltips

Tooltips are a common Web UX pattern designed to show information on hover/touch.

Dependencies:

JS:

Tooltip

A simple popup tooltip using a custom attribute.

Interaction Types

Change the interaction type from hover (which is the default) to click.

HTML Content

You can use a HTML Template element to render the tooltips content.

Favourites Button Example

Using HTML content to update the tooltip when clicking the favourites button.