I have the following template for my angular component:
<div class="center">
<object id="img" data="assets/img/big_layout.svg" #svg></object>
</div>
I would like to trigger an angular event when the svg is clicked. I tried adding (click)="onSelect($event)"
to the <object>
but that didn't work. Is it possible to get the object with Renderer2, and then attach an event listener in the component?