Module

QrCodeScanner

Renders a camera preview and emits events when QR codes are scanned.

Usage

<qr-code-scanner
  @qr-code-scanned="onQrCodeScanned"
  @qr-code-err="onQrCodeErr"
></qr-code-scanner>

Events

Name Payload Type Description
qr-code-scanned String Emit scanned codes
qr-code-err String Emit error when scanner fails or can't initialize