c-qrcode
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

qrcode

example

const qrcodeElement = new QRCode(document.createElement('div'), {
  text: `${this.params.url}`,
  width: 1000,
  height: 1000,
  colorDark: '#000000',
  colorLight: '#ffffff',
  correctLevel: QRCode.CorrectLevel.H,
});

// qrcodeElement._el.querySelector('canvas').toDataURL('image/png')

Readme

Keywords

Package Sidebar

Install

npm i c-qrcode

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

42.7 kB

Total Files

3

Last publish

Collaborators

  • lujingce