Default
Easily add a tooltip with the s-tooltip component, the content within the default slot is the parent element of the tooltip and the one that triggers to show or hide it
The tooltip slot is the content inside the tooltip
Easily add a tooltip with the s-tooltip component, the content within the default slot is the parent element of the tooltip and the one that triggers to show or hide it
The tooltip slot is the content inside the tooltip
Without placement, Tooltip prefers the top and automatically chooses another direction when visible space is insufficient. Scrolling and resizing recalculate the position. Set placement to choose an initial direction, including -start and -end alignment variants. Set :flip="false" to prevent direction changes.
Use the color prop to change the base color of a component and supported child elements. See theme configuration for color and theme details.
Supported values:
primarysuccessdangerwarningdarkRGBHEXChange the style of the tooltip by adding a border and changing the color of the background with the border or border-thick property
Now the color property would change the color of the border
Change the border-radius of the tooltip so that it is completely a rectangle
Change the border-radius of the tooltip to make it more circular
This property only applies when the tooltip has less than one line of text.
Change the style of the tooltip to have a shadow and the background color
In some cases you may need to remove the arrow from the tooltip for this you can use the not-arrow property
Add an animation and loading style to the tooltip
We create the tooltip component in such a way that you have a lot of freedom to add anything and create all kinds of interface inside it.
String | HTMLElementStringNumberStringBoolean | ObjectBooleanStringStringBoolean | ObjectBooleanBooleanBooleanBooleanBoolean