QRCode.js is javascript library for making QRCode. QRCode.js supports Cross-browser with HTML5 Canvas and table tag in DOM. QRCode.js has no dependencies.
 
 
Go to file
Sangmin, Shim 540308a766 Merge pull request #50 from TriAnMan/remove-jquery-dep
Remove unneeded jquery dependency
2015-07-27 15:10:43 +09:00
.gitignore Add gitignore and ignore Aptana projects 2013-06-03 16:20:26 -07:00
LICENSE init project 2012-12-26 15:45:08 +09:00
README.md Add a Bitdeli badge to README 2014-01-12 08:47:44 +00:00
bower.json Remove unneeded jquery dependency 2015-01-04 19:16:50 +03:00
index-svg.html Added support for SVG QR codes into HTML. 2014-03-20 22:46:39 +01:00
index.html init project 2012-12-26 15:45:08 +09:00
index.svg add SVG support 2013-06-11 16:10:25 +02:00
jquery.min.js init project 2012-12-26 15:45:08 +09:00
qrcode.js Swap col and row in SVG output so that the display equals the PNG output 2014-11-19 15:57:57 +01:00
qrcode.min.js Minified with uglifyjs 2013-07-12 16:17:36 +09:00

README.md

QRCode.js

QRCode.js is javascript library for making QRCode. QRCode.js supports Cross-browser with HTML5 Canvas and table tag in DOM. QRCode.js has no dependencies.

Basic Usages

<div id="qrcode"></div>
<script type="text/javascript">
new QRCode(document.getElementById("qrcode"), "http://jindo.dev.naver.com/collie");
</script>

or with some options

var qrcode = new QRCode("test", {
	text: "http://jindo.dev.naver.com/collie",
	width: 128,
	height: 128,
	colorDark : "#000000",
	colorLight : "#ffffff",
	correctLevel : QRCode.CorrectLevel.H
});

and you can use some methods

qrcode.clear(); // clear the code.
qrcode.makeCode("http://naver.com"); // make another code.

Browser Compatibility

IE6~10, Chrome, Firefox, Safari, Opera, Mobile Safari, Android, Windows Mobile, ETC.

License

MIT License

Contact

twitter @davidshimjs

Bitdeli Badge