View a document in MobbSign Web
Once you have installed MobbSign Web in your application and configured it correctly, you can use it to view a document.
The MobbSign Web viewer will be placed inside your app. Behind the scenes an iframe is created and the document is loaded within it. APIs are available to:
Load a document
Once you have an initialized MobbSign instance, you can use it to load documents so your users could sign them:
new MobbSign(config).then(mobbsign => {
mobbsign.load(`documentID`);
});
The documentID
value corresponds to an ID of a previously uploaded document to MobbSign Server using the API. Below is an example of a document displayed on MobbSign Web:
You can subscribe to onDocumentLoaded
listener to be notified when the document has been visualized in MobbSign Web viewer.
Check Listening events for a more detailed description of listeners to subscribe in MobbSign Web
Once the document is uploaded to mobbsign, it is ready to be signed.