Skip to main content

QR Code

QR Code.

Options

  • text | string: text to encode in QR code (defaults to lesson URL if not set). Default: none.
  • scale | number: number of pixels per modules (black dots). Default: 8.
  • width | number: width in pixels; takes precedence over scale property. Default: none.
  • showText | boolean: boolean determining whether to show the text encoded in the QR code. Default: false.
  • center | boolean: boolean controlling whether to center the QR code. Default: false.
  • style | object: CSS inline styles. Default: {}.

Examples

Live Editor
Result
ReferenceError: Provider is not defined