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
469 stars 125 forks source link

Not working when used with innerHTML #108

Closed mwenechac-sys closed 3 years ago

mwenechac-sys commented 4 years ago

I am trying to generate QRcode like so:

html <div [innerHTML]="someHtmlCode"></div>

ts this.someHtmlCode = <qrcode [qrdata]="'some string'" [width]="256" [errorCorrectionLevel]="'M'"></qrcode>;

But its not working, how can I make it work.?

Cordobo commented 4 years ago

Hi @mwenechac-sys

Can you format your comment in a way that Github can display it? Unfortunately your HTML is not displayed.

mwenechac-sys commented 4 years ago

Its formatted now.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

royaldragonit commented 3 years ago

The same error