Class QRCode

Constructors

  • Parameters

    • parameters: {
          data: string;
      }
      • data: string

    Returns QRCode

Properties

DEFAULT_PARAMETERS: {
    backgroundColor: string;
    padding: number;
    qrColor: string;
    size: number;
} = ...

Type declaration

  • backgroundColor: string
  • padding: number
  • qrColor: string
  • size: number
_data: string = ""

Methods

  • Generates the QR code link

    Returns string

    The QR code link

  • Encapsulates the API call to generate the QR code

    Parameters

    • param: string

      The query parameters for the API call

    Returns string

    The QR code image URL

Generated using TypeDoc