Is there a way in which I can set the tooltip to be visible on focus instead of upon hovering?
I've tried to understand from angular official documentation and search similar question on SO including this one Always Show Tooltip ( Angular Material2), but I don't see something helpful so far.
My code is:
<input
matTooltipPosition="above"
matTooltipClass="my-tooltip"
matTooltip='Fill in the field and then click "Enter"'
(focus)="tooltip.show()"
#tooltip="matTooltip">
I also tried TooltipVisibility = "Visible" with no success