I need to call mouseHoverTableRow() function after hovering on tr 3 seconds. If hovering is less than 3 second than I don't want to call mouseHoverTableRow(). I am calling API on mouseHoverTableRow() How to do that?
<tr *ngFor="let item of list" (mouseover)= "window.setTimeout('mouseHoverTableRow(item.id)', 3000)">
<td></td>
</tr