Skip to main content

showAgreement()

Last updated 17/09/2024

Example

The following code displays an agreement that must be accepted or canceled.

Show agreement to be accepted or canceled
five.showAgreement(terms: string, function(userResult: any) {
if (userResult.accepted === true) {
alert('Accepted');
} else {
alert('Canceled');
}

})