1.12.5 • Published 5 years ago

sling-web-component-tooltip v1.12.5

Weekly downloads
65
License
-
Repository
-
Last release
5 years ago

sling-web-component-tooltip

The tooltip component is a simple and customizable tooltip that receives an text and a position.

Install

npm install sling-web-component-tooltip

Tag

<sling-tooltip></sling-tooltip>

Dependencies

sling-web-framework

Attributes and properties

NameTypeDefault ValuesReflectToAttributeObservercallSdk
positionStringright:heavy_check_mark:
tooltiptextStringundefined:heavy_check_mark:

Description

NameDescription
positionDefines where the tooltip should show.
tooltiptextSet the tooltip text.

Events

This component have no events.

Usage

The tooltip will hover the content inside the tag

<sling-tooltip position="right" tooltiptext="Tooltip">Hover me</sling-tooltip>