SyntaxFix
Write A Post
Hire A Developer
Questions
u can call event function like (focusout) or (blur) then u put your code
<div tabindex=0 (blur)="outsideClick()">raw data </div> outsideClick() { alert('put your condition here'); }