Learn how to use our embedding SDK via Web Components on a framework-less web application.
documenso-embed-direct-template
tag.
Attribute | Type | Description |
---|---|---|
token | string | The token for the document you want to embed |
host | string (optional) | The host to be used for the signing experience, relevant for self-hosters |
name | string (optional) | The name the signer that will be used by default for signing |
lockName | boolean (optional) | Whether or not the name field should be locked disallowing modifications |
string (optional) | The email the signer that will be used by default for signing | |
lockEmail | boolean (optional) | Whether or not the email field should be locked disallowing modifications |
onDocumentReady | function (optional) | A callback function that will be called when the document is loaded and ready to be signed |
onDocumentCompleted | function (optional) | A callback function that will be called when the document has been completed |
onDocumentError | function (optional) | A callback function that will be called when an error occurs with the document |
onFieldSigned | function (optional) | A callback function that will be called when a field is signed |
onFieldUnsigned | function (optional) | A callback function that will be called when a field is unsigned |
documenso-embed-sign-document
tag.
Attribute | Type | Description |
---|---|---|
token | string | The token for the document you want to embed |
host | string (optional) | The host to be used for the signing experience, relevant for self-hosters |
name | string (optional) | The name the signer that will be used by default for signing |
lockName | boolean (optional) | Whether or not the name field should be locked disallowing modifications |
onDocumentReady | function (optional) | A callback function that will be called when the document is loaded and ready to be signed |
onDocumentCompleted | function (optional) | A callback function that will be called when the document has been completed |
onDocumentError | function (optional) | A callback function that will be called when an error occurs with the document |