const consentListeners = []; window.ConsentListener = (callback) => { consentListeners.push(callback); }; const onConsentChange = (consent) => { consentListeners.forEach((callback) => { callback(consent); }); };
<< 1 ... 2 3 4 5 6 >>

Blog

<< 1 ... 2 3 4 5 6 >>