1.0.0 • Published 2 years ago
angular-biometrics-verification v1.0.0
AngularBiometricsVerification
Usage
Import AngularBiometricsVerificationModule in app.module.ts
import { AngularBiometricsVerificationModule } from 'node_modules/angular-biometrics-verification/'
Add AngularBiometricsVerificationModule to imports
imports: [ ..., AngularBiometricsVerificationModule, ]
In the component file, where we need to use the verification component add the follwing line
<angular-biometroics-verification [apikey]="''" [companyId]="" (response)="printOutput($event)"></angular-biometroics-verification>
where
- apikey(input) => api key provided by us,
- companyId(input) => your company id
- response(output) => After the processing is complete, we emit a new event which you can bind your function to in place of printOutput
Output Response Format
{ data:any, success:boolean }
We also have exported Response type so you can use that as wellWe also have exported Response type so you can use that as well
import { AngularBiometricsVerificationService, Response, } from 'angular-biometrics-verification'
printOutput(event: Response) { console.log('Repsoss', event); }
1.0.0
2 years ago