Skip to main content
This is a Frontend SDK method. Calling it does not submit the assessment — it is equivalent to the candidate clicking close.

Signature

AssessmentPortal.close(): void
No parameters. Returns void.

When to use

  • Your app navigates away while the portal is open
  • A timeout forces the session to end
  • An error in your app requires dismissing the overlay

AssessmentPortal.close();