app/pb_kits/playbook/pb_tooltip/docs/_tooltip_show_tooltip
You can build your own logic to control whether to show or hide the tooltip.
Click on the Toggle state
button to change the state of the component and hover over the ‘hover me’ text to see it in action.
Each Tooltip has a dataset
with the pbTooltipShowTooltip
property set to true by default. To update it, access the pbTooltipShowTooltip
in the dataset of your tooltip element: yourTooltip.dataset.pbTooltipShowTooltip = 'false'