Tooltip
The BTooltip
is used to show a tooltip on hover or click. The component can be used on any element, but is most commonly used on links, buttons, and form controls.
Trigger
The trigger
prop controls how the tooltip is triggered. The default trigger is hover
. By setting the trigger
prop to click
, the tooltip will be triggered on click.
Delayed show / hide appearance
Sometimes you may want to delay the appearance of a the tooltip. so that it doesn't appear immediately when the user hovers over the element.
You can set the delay
and hide-delay
prop to change the delay of the tooltip. The default delay is 0
for both.
Placement
You can set the placement
prop to change the position of the tooltip. The default placement is top
.
Rich content
You can set the placement
prop to change the position of the tooltip. The default placement is top
.