Skip to main content

Document Viewer v1.0.0

Initial stable release of the Legalesign Document Viewer web component.

New​

  • Web component (<ls-document-viewer>) and React (<LsDocumentViewer>) integration
  • Three modes: editor, compose, and preview
  • templateid and token required attributes
  • Authentication via SRP JWT, generateComponentToken GraphQL mutation, or REST component token endpoint
  • filtertoolbox attribute to restrict available field types
  • recipients attribute for compose mode — accepts JSON array with email, firstname, lastname, signerIndex, and optional role and phonenumber
  • Witness role support — add 100 to the signer's signerIndex for the witness (e.g. witness for signer 2 = signerIndex: 102)
  • Custom toolbar buttons via left-button and right-button slots
  • update event — fired when the template is changed
  • validate event — fired when template validity changes, includes valid boolean
  • selectFields event — fired when a field is selected
  • addParticipant event — fired when a participant role is added

Export This Article

Save a copy of this page as PDF or plain text.