Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

QRCode.js - A Cross-Browser JavaScript Library To Generate QRCodes

DZone's Guide to

QRCode.js - A Cross-Browser JavaScript Library To Generate QRCodes

· Web Dev Zone ·
Free Resource

Jumpstart your Angular applications with Indigo.Design, a unified platform for visual design, UX prototyping, code generation, and app development.

 

QRCode.js is a cross-browser JavaScript library which allows you to generate QRCodes on the fly, on the client-side.  QRCode.js makes use of HTMl5 Canvas and Tables to display the QRCode.  The library itself has no dependencies whatsoever.

To generate a QRCode, you just need to include the JavaScript library and then pass as parameters to the QRCode function, the text you want to encode as the QRCode, the width & height of the QRCode you want to display, as well as your specified foreground color and background color.

Requirements: None
Demo: http:/ / davidshimjs. github. com/ qrcodejs/
License: MIT License

Take a look at an Indigo.Design sample application to learn more about how apps are created with design to code software.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}