How to use Angular-Material Tooltips toggle method correctly?

Viewed 6513

I would like to click on the span element once, so that the tooltip appears and then again to hide.

Here is my html. What am I doing wrong?

<span mdTooltip="Tooltip!" (click)="tooltip.toggle()>Test</span>
1 Answers
Related