Breadcrumbs

Frontend API

The Viewer frontend sends and receives messages via window.postMessage()(documentation at MDN), which can be used to control the Viewer programmatically when it is embedded in another web application via an iFrame. This allows the signing process to be started or the file to be saved, for example. In addition, the surrounding application can be informed of certain events and respond to these.

More information is available here.