qr.js, as the name hints, can render QR codes, those matrix barcodes readable by dedicated QR barcode readers and camera phones, usually found in most smartphones.
The qr.js library allows developers to give it a specific text and then have it rendered out as QR code dots using the HTML5 canvas element.
Developers can pass it anything they want, from URLs, to basic text.
They can also change the QR code's dot and background color, their size and ECC level.
qr.js is framework-agnostic, which means it can be used as a stand-alone library, with no additional frameworks needing to be loaded (like Prototpe, MooTools, etc.).
What is new in this release:
- Reverted back to GPL License.
What is new in version 1.1.3:
- Reverted back to GPL License.
What is new in version 1.1.1:
- Fixed bug with IIFE.
What is new in version 1.0.3:
- Rename QRCode to qr
- Remove all deprecated methods
- Reformat code and add additional, along with some original, code comments
- Added support for Node.js, CommonJS and Ender
- Added optional callback functionality to API methods
- Allow data arguments to be an object or string value
- Add VERSION property to the API
- Add toDataURL, save and noConflict methods to the API
Requirements:
- JavaScript enabled on client side
評論沒有發現