EasyUI Forum

General Category => EasyUI for Angular => Topic started by: dayo on April 22, 2018, 09:30:15 AM



Title: How to dynamically add TooltipComponent for angular?
Post by: dayo on April 22, 2018, 09:30:15 AM
How to dynamically add TooltipComponent for angular?


Title: Re: How to dynamically add TooltipComponent for angular?
Post by: stworthy on April 22, 2018, 03:42:52 PM
Just use the 'euiTooltip' directive on an element.
Code:
<span [euiTooltip]="title">Hover Me</span>
Set the 'title' value to null to disable the tooltip, or a string value to enable it.