The addEventListener function registers event listener functions on the TXDocumentViewer object.

Introduced: X19.

<void> TXDocumentViewer.addEventListener(<string> eventName, <function> callback)

Parameters

Parameter Description
eventName A string representing the name of the event to listen for.
Event Description
"annotationsChanged" Is fired when an annotation has been changed.
"signaturesCompleted" Is fired when all signature boxes have been signed by the user.