Angular - Add buttons with click event inside cornerHtml

Asked by Anonymous
4 years ago.

Hello,

I try to add buttons inside of cornerHtml property with click event, example :

cornerHtml:' <a (click)="previous()" >
<span class="icon-BackArrow"></span>
</a>
<a (click)="next()">
<span class="icon-NextArrow"></span>
</a>'

The html is well displayed but the click event is not detected.

Is there another way to implement the events directly in the cornerHtml because i couldn't find anything about it ?

Comment posted by Anonymous
4 years ago.

Ok thanks !

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.