Here is an example that uses simple signing.
content: "The text to be signed", // This attribute is optional. If it is omitted, then a text input box is shown to the user. This is the content that is to be signed.
uiId: "exampleDiv" // This attribute is optional. If it is omitted, then an overlay is created. This is the id of a div element in which the iframe is to be inserted for user interaction.
// error "error" occured due to "cause"
// signed document can be found at "pdfurl"
content: "http://www.example.com/test.pdf", // This attribute is optional. If it is omitted, then the user will be shown a file upload. This is a URL to the PDF document that is to be signed.