0.0.2 • Published 1 year ago

@leduykhoa/qr-code v0.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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.
0.0.2

1 year ago

0.0.1

1 year ago