mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
21 lines
607 B
TypeScript
21 lines
607 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { ScanditOverlayComponent } from './scandit-overlay.component';
|
|
import { ScanditScanAdapter } from './scandit.scan-adapter';
|
|
import { SCAN_ADAPTER } from '../tokens';
|
|
|
|
@NgModule({
|
|
imports: [CommonModule],
|
|
exports: [ScanditOverlayComponent],
|
|
declarations: [ScanditOverlayComponent],
|
|
})
|
|
export class ScanditScanAdapterModule {
|
|
static forRoot() {
|
|
return {
|
|
ngModule: ScanditScanAdapterModule,
|
|
providers: [{ provide: SCAN_ADAPTER, useClass: ScanditScanAdapter, multi: true }],
|
|
};
|
|
}
|
|
}
|