@leduykhoa/qr-code

0.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @leduykhoa/qr-code

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

58.6 kB

Total Files

5

Last publish

Collaborators

  • leduykhoa