Catalog
CONSULT THE COMPLETE VERSION ONLINE
const consentListeners = []; window.ConsentListener = (callback) => { consentListeners.push(callback); }; const onConsentChange = (consent) => { consentListeners.forEach((callback) => { callback(consent); }); };