1.0.2 • Published 2 years ago
ngx-simple-qrcode v1.0.2
About The Project
QRcode generator for Angular, based on kjua.
Getting Started
Prerequisites
- npm
npm i kjua --save npm i ngx-simple-qrcode --save
Installation
- Enter your project directory
- Install NPM packages
npm i kjua --save npm i ngx-simple-qrcode --save
Usage
Load the module:
import {NgxSimpleQrcodeModule} from "ngx-simple-qrcode";
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
AppRoutingModule,
NgxSimpleQrcodeModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
And then just put the element in template:
<ngx-simple-qrcode text="Hello world!" [size]="300"></ngx-simple-qrcode>
Contributing
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt
for more information.