Skip to main content

showAgreement()

Last updated 17/09/2024

The

showAgreement()
is a function on the
Five
object that is used to display an agreement. The
userResult
object returned from the callback will have a value called accepted, so you know if the user canceled or accepted the agreement.

Available

Client

Function Signature
showAgreement(terms: string, onUserResult: (userResult: any) => void) : void

ParameterTypeDescription
terms
stringTerms displayed to the user
onUserResult
functionResult of user choice

Examples

showAgreement()