-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,12 +13,13 @@ | |
|
||
## Features | ||
|
||
- Compatible with **Angular** and Ionic | ||
- Compatible with **Angular** and **Ionic** | ||
- Ivy compiler support, AOT, SSR (Server Side Rendering) | ||
- Under active development | ||
- Accessibility (a11y) attributes supported (alt, aria-label, title) | ||
- Support for images | ||
- Trusted and used by thousands of developers like you | ||
- Easy to use, [sample web app](#demo-app) included | ||
|
||
`angularx-qrcode` is compatible with Ionic 3/4/5/6/7/8 and Angular 4/5/6/7/8/9/10/11/12/13/14/15/16/17/18+ with support for the Ivy compiler. It is a drop-in replacement for the no-longer-maintained angular component ng2-qrcode and based on node-qrcode. | ||
|
||
|
@@ -48,36 +49,32 @@ npm install [email protected] --save | |
yarn add [email protected] | ||
``` | ||
|
||
**Older supported angular versions** | ||
**All supported angular versions** | ||
|
||
| Angular Version | angularx-qrcode Version | | ||
|-----------------|-------------------------| | ||
| ^18 | ^18.0.1 | | ||
| ^17 | ^17.0.1 | | ||
| ^16 | ^16.0.2 | | ||
| ^15 | ^15.0.1 | | ||
| ^14 | ^14.0.0 | | ||
| ^13 | ^13.0.15 | | ||
| ^12 | ^12.0.3 | | ||
| ^11 | ^11.0.0 | | ||
| ^10 | ^10.0.12 | | ||
| ^9 | ^2.3.7 | | ||
| ^8 | ^2.1.4 | | ||
| ^5 / ^6 / ^7 | ^1.6.4 | | ||
| ^4 | ^1.0.3 | | ||
|
||
``` | ||
# angular 15 and Ionic | ||
npm install [email protected] --save | ||
# angular 14 and Ionic | ||
npm install [email protected] --save | ||
# angular 13 and Ionic | ||
npm install [email protected] --save | ||
# angular 12 and Ionic | ||
npm install [email protected] --save | ||
# angular 11 and Ionic | ||
npm install [email protected] --save | ||
# angular 10 and Ionic | ||
npm install [email protected] --save | ||
# angular 9 and Ionic | ||
npm install angularx-qrcode@~2.3.7 --save | ||
# angular 8 and Ionic | ||
npm install angularx-qrcode@~2.1.4 --save | ||
# angular 5/6/7 | ||
npm install [email protected] --save | ||
# Angular 4 | ||
npm install [email protected] --save | ||
``` | ||
|
||
# Demo App | ||
|
||
**[Working online demo of Angular QR Code Generator](https://cordobo.github.io/angularx-qrcode/)** | ||
|
||
The source for the demo angular app is available in [`projects/demo-app`](projects/demo-app). Run the command | ||
The source for the working angular app is available in [`projects/demo-app`](projects/demo-app). | ||
|
||
Run the command: | ||
|
||
``` | ||
npm start | ||
|