Hide
privo.ageVerification.hide()
The method allows a partner to hide the Age Verification widget.
JS (Typescript) Age Verification SDK example:
ageVerification.init({
serviceIdentifier,
displayMode: "redirect",
});
// ...
ageVerification.getStatus(userIdentifier).then((event) => {
setEvents((prev) => [...prev, event.status]);
});
// ...
ageVerification.run({firstName, email}, (event) => {
setEvents((prev) => [...prev, event.status]);
})