Tooltip
Installation
Usage
rh-tooltip
Slot Name | Description |
---|---|
|
Place invoking element here, i.e. the element which when hovered the tooltip will display. Must be inline content. |
content |
Place tooltip content here. Overrides the |
DOM Property | Description | Type | Default |
---|---|---|---|
position |
The position of the tooltip, relative to the invoking content |
|
|
content |
Tooltip content. Overridden by the content slot |
|
|
Method Name | Description |
---|---|
show() |
Show the tooltip |
hide() |
Hide the tooltip |
None
None
CSS Property | Description | Default |
---|---|---|
--rh-tooltip-arrow-size |
11px
|
|
--rh-tooltip-content-background-color |
#ffffff
|
|
--rh-tooltip-content-color |
#151515
|
|
--rh-tooltip-max-width |
18.75rem
|
|
--rh-tooltip-content-padding-block-start |
16px
|
|
--rh-tooltip-content-padding-inline-end |
16px
|
|
--rh-tooltip-content-padding-block-end |
16px
|
|
--rh-tooltip-content-padding-inline-start |
16px
|
|
--rh-tooltip-content-font-size |
0.875rem
|
None
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.