🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ngx-scanner-qrcode-14

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-scanner-qrcode-14

This library is built to provide a solution scanner QR code. This library takes in raw images and will locate, extract and parse any QR code found within.

1.0.17
latest
Source
npm
Version published
Maintainers
1
Created
Source

ngx-scanner-qrcode

This library is built to provide a solution scanner QR code.
This library takes in raw images and will locate, extract and parse any QR code found within.
This demo stackblitz.

Logo

Installation

Install ngx-scanner-qrcode from npm:

npm install ngx-scanner-qrcode --save

Add wanted package to NgModule imports:

import { NgxScannerQrcodeModule } from 'ngx-scanner-qrcode';
@NgModule({
    imports: [
        NgxScannerQrcodeModule,
    ]
})

In the Component:

<ngx-scanner-qrcode #action="scanner" (data)="output = $event"></ngx-scanner-qrcode>
<span>{{output}}</span>
<button (click)="action.toggleCamera()" [disabled]="action.isLoading">{{action.isStart ? 'Stop' : 'Start'}}</button>

API Documentation

Input

FieldDescriptionTypeDefault
lineline frame qrcodenumber4
colorcolor of linestring#008000

Ouput

FieldDescriptionTypeDefault
datadata of qrcodestring-
errorerrorany-

Component export

FieldDescriptionTypeDefault
toggleCameraActive/Inactive camerafunction-
startActive camerafunction-
stopInactive camerafunction-
isLoadingCheck start fnbooleanfalse
isStartStart Videobooleanfalse

Support versions

1.1.0 >= Angular 9
1.0.17 >= Angular 8

Author: DaiDH, Tel: 0845882882

License

MIT License. Copyright (c) 2021 DaiDH

Keywords

ng

FAQs

Package last updated on 29 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts