Cordobo / angularx-qrcode

A fast and easy-to-use Angular QR Code Generator library with Ivy support
https://cordobo.github.io/angularx-qrcode/
MIT License
459 stars 127 forks source link

add event emitter for when qrcode has been clicked #185

Closed larscom closed 1 year ago

larscom commented 1 year ago

It would be nice if the element in which the QR code lives has a click event emitter so you know when the element has been clicked.

At the moment if i want to add an eventListener myself i have to access the qrcElement on QRCodeComponent and put an event listener on that element and also remove it when the component gets destroyed. It gets the job done, but could be simpler ;-)