Is there a way to reference self in html template in angular? I mean something like :
<p-calendar... (click)="self.someOtherMethod()"> ... </p-calendar>
At the moment I can do this like :
<p-calendar... (click)="test(v)" #v>...</p-calendar>
test(v){
v.someOtherMethod();
}
p-calendar is component from Primeng, but what I ask is general Angular stuff.


