Skip to content

frslabs/vimos-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

VIMOS WEB SDK

version

Table Of Content

Quick Start

Web SDK Integration

<script src="atlaskyc.js">
  • Invoke AtlasKYC on a button click or on similar user input event
<input type="button" onClick="openAtlasKYC()" value="AtlasKYC">

Method 1: To open AtlasKYC in a new window

function openAtlasKYC(){
  let atlasKYC = new AtlasKYC({
    method: "window",
    onFinish: () => {
       // Callback function 
    }
  });
 
   atlasKYC.open(ATLAS_KYC_URL);

}

The onFinish function will be called once the KYC is done.

Method 2: To open AtlasKYC in an iframe

Create a DIV element like below

<div class="atlas-kyc"></div>
function openAtlasKYC(){
  let atlasKYC = new AtlasKYC({
    method: "iframe",
    containerClassName:"atlas-kyc",
    onFinish: () => {   
       // Callback function    
    }
  });

  atlasKYC.open(ATLAS_KYC_URL);
}

Help

For any queries/feedback , contact us at support@frslabs.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published