Object Initialization

To use the library, you have to first initialize a QRCode object, the QRCode object can be initialized in different ways as will be illustrated by the following examples

Example

#Html
<div id="qrcode-container"></>
#Javascript
var qrcode = new QRCode(document.getElementById("qrcode-container"))