Manages downloading a signed form.
This UI of this module is a modal dialog box that shows the signature burn-in status, allows the user to cancel the burning and download, and allows the user to download the signed form.
Listens to Events:
-
module:event-store#event:BurnForm - The download signed form dialog will be displayed when this event is triggered.
-
module:event-store#event:DisplayForm - Gets the form name from this event.
Example
var DownloadSignedForm = require('download-signed-form.js');
// a generic Viewer constructor
function Viewer(opts) {
var myDownloadSignedForm = DownloadSignedForm(this, {
elem: document.getElementById('myDownloadSignedForm')
});
}
(require("download-signed-form"))(viewer, options)
Creates the download signed form module.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
viewer |
Core |
The core viewer to which the module will attach. |
||||||
options |
Object |
An options object. Properties
|
Methods
destroy()
Destroys the module.