1.1.2 • Published 4 months ago

an-qrcode v1.1.2

Weekly downloads
252
License
MIT
Repository
github
Last release
4 months ago

an-qrcode

an-qrcode is simple angular library to generate QR Codes in Angular 6+ app.

npm version

Demo App

You can find demo app here github.com/naimmalek/an-qrcode-sample-app.

Installation

npm install an-qrcode --save

Basic Usage

Import the module and add it to your imports section in your main AppModule:

// Main Module File: app.module.ts
import { AnQrcodeModule } from 'an-qrcode';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    AnQrcodeModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Examples: an-qrcode

Generate a QR Code from a string

here is sample code for generate qrcode

<qrcode [level]="1" [qrvalue]="'QR Code String'"></qrcode>

Parameters

AttributeTypeDefaultDescription
levelNumber1QR ECC level (1, 2, 3, 4)
qrvalueString''Your String
sizeNumber200(Width/Height value)

License

MIT License

Copyright (c) 2019 - present Naim Malek (naimmalek.github.io)

1.1.1

4 months ago

1.1.2

4 months ago

1.1.0

4 months ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.3

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago