rovalra
    Preparing search index...
    • Initializes the Terms of Use check. If the user hasn't agreed, it displays a confirmation prompt with key takeaways.

      Parameters

      • OptionalonAgreed: Function

        Optional callback to run once agreement is confirmed.

      • Optionaloptions: { agreementKey?: string; onCancel?: Function; onPrompt?: Function } = {}

        Optional feature-specific agreement behavior.

        • OptionalagreementKey?: string

          Storage key used for the agreement.

        • OptionalonCancel?: Function

          Callback to run when the prompt is dismissed.

        • OptionalonPrompt?: Function

          Callback run immediately before the prompt opens.

      Returns void