You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are times when we want to disable a tooltip based on computed properties or states of elements in the component.
Current
Currently, our options seem to be disabling the tooltip programmatically via a ViewChild reference, setting tooltipTrigger to manual, or setting the tooltip content to nothing. These are ok, but it's unfortunately there isn't a simpler way to handle this.
Desired
I would like to be able to set a property on an HTML element that would prevent a given tooltip from displaying.
There are times when we want to disable a tooltip based on computed properties or states of elements in the component.
Current
Currently, our options seem to be disabling the tooltip programmatically via a ViewChild reference, setting
tooltipTrigger
to manual, or setting the tooltip content to nothing. These are ok, but it's unfortunately there isn't a simpler way to handle this.Desired
I would like to be able to set a property on an HTML element that would prevent a given tooltip from displaying.
This would also simplify conditionals based on template refs (contrived example):
The text was updated successfully, but these errors were encountered: