File tree 5 files changed +10
-5
lines changed
sdk-integration-examples/web-sdk
angular/id-scan/src/app/details
vue/id-scan/src/components
5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ <h4>Extracted details</h4>
16
16
</ div >
17
17
18
18
< footer >
19
- < button (click) ="(onClose ) "> Close</ button >
19
+ < button (click) ="handleClose( ) "> Close</ button >
20
20
</ footer >
21
21
</ div >
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ export class DetailsComponent {
11
11
@Input ( ) details : any = [ ] ;
12
12
@Output ( ) onClose = new EventEmitter < void > ( ) ;
13
13
14
+ public handleClose = ( ) => {
15
+ this . onClose . emit ( ) ;
16
+ } ;
17
+
14
18
onGetFields ( ) {
15
19
const fields = [ ] ;
16
20
Original file line number Diff line number Diff line change 5
5
"type" : " module" ,
6
6
"scripts" : {
7
7
"dev" : " vite" ,
8
+ "host" : " vite --host" ,
8
9
"build" : " tsc -b && vite build" ,
9
10
"lint" : " eslint ." ,
10
11
"preview" : " vite preview"
Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ for (let i = 0; i < props.details.length; i++) {
53
53
<input
54
54
disabled
55
55
type =" text"
56
- name =" field.name"
57
- value =" field.value"
58
- id =" field.name"
56
+ : name =" field.name"
57
+ : value =" field.value"
58
+ : id =" field.name"
59
59
/>
60
60
</div >
61
61
</div >
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ onMounted(() => {
92
92
<img src =" ../assets/loading.svg" alt =" Loading icon" />
93
93
</div >
94
94
<div v-else class =" card" >
95
- <button type =" button" @click =" handleStart(true )" >
95
+ <button type =" button" @click =" handleStart(false )" >
96
96
Start ID Check Front Side
97
97
</button >
98
98
<button type =" button" @click =" handleStart(true)" >
You can’t perform that action at this time.
0 commit comments