mirror of
https://github.com/danielvici/tool-website.git
synced 2026-01-17 01:21:25 +00:00
add regenerate of qrcode while changing size, info (qr) is now hidden
This commit is contained in:
@@ -58,4 +58,10 @@ export class GeneratorQrcode {
|
||||
link.click();
|
||||
document.body.removeChild(link);
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
this.qrCodeDetailsForm.get('size')?.valueChanges.subscribe(() => {
|
||||
this.generateQR();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user