leduykhoa / qr-code

qr-code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

install via npm:

npm install @leduykhoa/qr-code --save

Basic Usage

    // example #1
    new QrCode(document.getElementById(`test`), `http://web-fast.com`);

    // example #2
    let oQrCode = new QrCode(`test`, {
        text : `http://web-fast.com`,
        width : 128,
        height : 128
    });

    oQrCode.clear(); // Clear the QrCode.
    oQrCode.makeCode(`http://web-fast.com`); // Re-create the QrCode.

About

qr-code


Languages

Language:JavaScript 100.0%