-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.js
24 lines (22 loc) · 862 Bytes
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import './style.css';
import setupForm from './script';
import '@smileid/web-components/smart-camera-web';
document.querySelector('#app').innerHTML = `
<div>
<form name="hosted-web-config" novalidate class="box center flow">
<select id="product">
<option value="">--Select Product---</option>
<option value="biometric_kyc">Biometric KYC</option>
<option value="authentication">SmartSelfie Authentication</option>
<option value="smartselfie">User Registration</option>
<option value="basic_kyc">Basic KYC</option>
<option value="enhanced_kyc">Enhanced KYC</option>
<option selected value="doc_verification">Document Verification</option>
</select>
<button data-type="primary" id="submitForm">
Verify with Smile Identity
</button>
</form>
</div>
`;
setupForm();