utils/qrcode
Documentation
- source: utils/qrcode.ts
Overview
Classes
QRCode
generateQRCode()
Generates a QR code image byte array from the given text. The returned byte array represents the image data (e.g., PNG or JPEG format, depending on the native implementation's default output).
tsstatic generateQRCode(text: string): void;
Parameter Type Description textstringThe string content to be encoded in the QR code. Returns
- Type:
void- Description: A JavaScript byte array (any[]) containing the raw QR code image data.
