Skip to main content
ClicktermDialog controls the clickwrap consent dialog shown to end users. It provides methods to show a clickwrap for acceptance and to display previously accepted content.

Access

Methods

show

Displays a clickwrap dialog to the end user. If the user has already accepted the latest effective major version, the promise resolves immediately without showing the dialog.
Parameters: ShowOptions: DialogConfig: Returns: Promise<ShowResult> The result object contains the Signature that should be sent to your backend for verification. Example:
Requests to show a clickwrap are not counted toward billing. Only the verification step (POST /clickwrap/verify) is billed.

showAcceptedContent

Displays the previously accepted clickwrap content to the user. Use this when you want to let users review what they agreed to.
Parameters: Returns: Promise<AcceptedContentResult> Example:
The accepted content dialog only appears if the user has an accepted and verified event.