fix: prevent the component showing on start
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<barcode-reader
|
<barcode-reader
|
||||||
|
[style.display]="scan().scan ? 'block' : 'none'"
|
||||||
#reader
|
#reader
|
||||||
(result)="this.result.emit($event)"
|
(result)="this.result.emit($event)"
|
||||||
(scan-status)="this.scanStatus.emit($event)"
|
(scan-status)="this.scanStatus.emit($event)"
|
||||||
|
|||||||
Reference in New Issue
Block a user