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 overscale
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
- Minimal
- With CSS
- Visible Link
- Scale
Live Editor
Result
ReferenceError: Provider is not defined