You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to set consent for a certain category through JavaScript?
I only found a acceptAllCookies and acceptEssentialsCookies.
So that allows to either accept all, or only the predefined "essentials" group.
Let's say I created a custom group called 'custom'.
How would I make a button that sets consent for this group? (and subsequently fires any scripts defined for this group)
Is there a way to set consent for a certain category through JavaScript?
I only found a acceptAllCookies and acceptEssentialsCookies.
So that allows to either accept all, or only the predefined "essentials" group.
Let's say I created a custom group called 'custom'.
How would I make a button that sets consent for this group? (and subsequently fires any scripts defined for this group)
something like:
window.LaravelCookieConsent.accept('custom');
The text was updated successfully, but these errors were encountered: