tef-tooltip

Default position

The element tef-tooltip needs to contain the elements that will show a tooltip when hovering them.

For a short tooltip, use the tooltip attribute.

The attribute position will set the position of the tooltip. The default value is top.

Top

Roll over me!

Right

Roll over me!

Bottom

Roll over me!

Left

Roll over me!

Visible

Setting the active attribute will make the tooltip visible. If you remove it it will dissapear.

Roll over me!

HTML content

If you want to include HTML markup instead a simple tooltip, insert all that html in the <tooltip> tag.

Roll over me!

Hi there!

This is an HTML tooltip

All possible positions

By default tooltips are centered to the target element. Use the position attribute to get the desired position.