Skip to main content
The ClickTerm Web SDK uses Promises to communicate results. The show() and showAcceptedContent() methods return promises that resolve on success and reject on error.

Show result

When ClicktermDialog.show() resolves:

Possible outcomes

A null Signature means the user has already accepted the latest major version. No action is needed on your part.

Error handling

Errors are returned via the Promise .catch() handler:
Common error scenarios:

Using async/await


Inline mode callbacks

Inline mode uses a different callback pattern. Instead of a single Promise from show(), you get:
  • onChange callback — fires every time the checkbox state changes (passed via options to renderInline())
  • finalize() Promise — resolves when the agreement is submitted to the backend
For full details, see the ClicktermDom API reference.