sling-web-component-tooltip

1.12.5 • Public • Published

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

Name Type Default Values ReflectToAttribute Observer callSdk
position String right ✔️
tooltiptext String undefined ✔️

Description

Name Description
position Defines where the tooltip should show.
tooltiptext Set 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>

Readme

Keywords

none

Package Sidebar

Install

npm i sling-web-component-tooltip

Weekly Downloads

4

Version

1.12.5

License

none

Unpacked Size

539 kB

Total Files

21

Last publish

Collaborators

  • sling-web