|
FoxitPDFSDKforWeb v11.0.4
Foxit PDF SDK for Web
|
Interface for handling the signature dialog. More...
Public Member Functions | |
| destroy () | |
| Cleans up resources used by the dialog. More... | |
| getCurrentSignature () | |
| Gets the current signature widget if it exists. More... | |
| hide () | |
| Hides the signature dialog. More... | |
| isOpened () | |
| Checks if the signature dialog is currently opened. More... | |
| openWith (signature:Widget, okCallback:(data:SignDocInfo, sign:DigestSignHandler)=> Promise< void >|void, cancelCallback?:()=> Promise< void >|void) | |
| Opens the signature dialog with the specified signature widget. More... | |
Interface for handling the signature dialog.
| ISignDocDialog::destroy | ( | ) |
Cleans up resources used by the dialog.
| ISignDocDialog::getCurrentSignature | ( | ) |
Gets the current signature widget if it exists.
| ISignDocDialog::hide | ( | ) |
Hides the signature dialog.
| ISignDocDialog::isOpened | ( | ) |
Checks if the signature dialog is currently opened.
| ISignDocDialog::openWith | ( | signature:Widget | , |
| okCallback:(data:SignDocInfo, sign:DigestSignHandler) | , | ||
| Promise< void >| | void, | ||
| cancelCallback? | :(), | ||
| Promise< void >| | void | ||
| ) |
Opens the signature dialog with the specified signature widget.
| signature | Widget - The signature widget to be used. |
| okCallback | (data:SignDocInfo,sign:DigestSignHandler)=>Promise<void>|void - Callback for when the user confirms the signature. |
| [cancelCallback] | () => Promise<void> | void - Optional callback for when the user cancels the operation. |