v10.0.0
Fluid Layouts
now you can modify the Message and checkboxes by fluid layout
Events
Event | Description | Options |
---|---|---|
dp--cookie-fire | fire after a consent script/iframe is loaded | event.detail.$el |
dp--cookie-accept | fire when the consent is accepted | |
dp--cookie-accept-init | fire accepted event on revisited | |
dp--cookie-deny | fire when the consend is denied | |
dp--cookie-revoke | fire when the consent is revoked |
document.addEventListener('dp--cookie-fire', function (e) {
console.log('dp--cookie-fire', e.detail.$el);
});
document.addEventListener('dp--cookie-accept', function (e) {
console.log('dp--cookie-accept', e);
});
document.addEventListener('dp--cookie-deny', function (e) {
console.log('dp--cookie-deny', e);
});
document.addEventListener('dp--cookie-revoke', function (e) {
console.log('dp--cookie-deny', e);
});