Comparing version 0.1.2 to 0.1.3
@@ -298,2 +298,3 @@ import { Component, EventEmitter, Input, NgModule, Output, ViewChild } from '@angular/core'; | ||
this.codeReader.decodeFromInputVideoDevice(function (result) { | ||
console.debug("ngx-zxing:", "result from scan:", result); | ||
_this.scanSuccess(result); | ||
@@ -300,0 +301,0 @@ }, deviceId, this.previewElem.nativeElement); |
@@ -301,2 +301,3 @@ (function (global, factory) { | ||
this.codeReader.decodeFromInputVideoDevice(function (result) { | ||
console.debug("ngx-zxing:", "result from scan:", result); | ||
_this.scanSuccess(result); | ||
@@ -303,0 +304,0 @@ }, deviceId, this.previewElem.nativeElement); |
{ | ||
"name": "ngx-zxing", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -22,2 +22,7 @@ # ngx-zxing | ||
## Demo | ||
* [Plunkr](https://plnkr.co/edit/U13ufJHexw2ugZbHx8kR?p=preview) | ||
* [Example](https://werthdavid.github.io/ngx-zxing/index.html) | ||
## Installation | ||
@@ -29,2 +34,3 @@ | ||
$ npm install ngx-zxing --save | ||
$ npm install zxing-typescript --save # Not sure if needed.. | ||
``` | ||
@@ -37,3 +43,2 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { AppComponent } from './app.component'; | ||
@@ -43,3 +48,6 @@ | ||
import { NgxZxingModule } from 'ngx-zxing'; | ||
// Needed as well | ||
import { FormsModule } from "@angular/forms"; | ||
@NgModule({ | ||
@@ -51,2 +59,3 @@ declarations: [ | ||
BrowserModule, | ||
FormsModule, | ||
NgxZxingModule.forRoot() | ||
@@ -53,0 +62,0 @@ ], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38973
862
85
0