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
So I try this module that is perfect BUT has no option for cookie personalization pop-up.
I'd like to have three buttons: Decline, Accept AND Personalize
I already developed the below and it shows the buttons but where i can implement DeclineCookies(), CustomizeCookies and AcceptCookies() ??
const cookieConfig: NgcCookieConsentConfig = {
cookie: {
domain: 'localhost' // or 'your.domain.com' // it is mandatory to set a domain, for cookies to work properly (see https://goo.gl/S2Hy2A)
},
palette: {
popup: {
background: '#000',
},
button: {
background: '#f1d600'
}
},
theme: 'edgeless',
type: 'opt-out',
layout: 'my-custom-layout',
layouts: {
"my-custom-layout": '{{buttons}}'
},
elements:{
buttons: <span id="cookieconsent:desc" class="cc-message">{{message}} <button (click)="delclineCookies()">Decline</button> <button (click)="customomizeCookies()">Customize Cookies</button> <button (click)="acceptCookies()">Accept</button> </span>,
},
content:{
message: 'By using our site, you acknowledge that you have read and understood our Policy',
}
};
The text was updated successfully, but these errors were encountered:
I'm using ngx cookie consent to ask user if he agrees with cookie storage and usage.
link : https://github.com/tinesoft/ngx-cookieconsent
So I try this module that is perfect BUT has no option for cookie personalization pop-up.
I'd like to have three buttons: Decline, Accept AND Personalize
I already developed the below and it shows the buttons but where i can implement DeclineCookies(), CustomizeCookies and AcceptCookies() ??
const cookieConfig: NgcCookieConsentConfig = {
cookie: {
domain: 'localhost' // or 'your.domain.com' // it is mandatory to set a domain, for cookies to work properly (see https://goo.gl/S2Hy2A)
},
palette: {
popup: {
background: '#000',
},
theme: 'edgeless',
type: 'opt-out',
layout: 'my-custom-layout',
layouts: {
"my-custom-layout": '{{buttons}}'
},
elements:{
buttons:
<span id="cookieconsent:desc" class="cc-message">{{message}} <button (click)="delclineCookies()">Decline</button> <button (click)="customomizeCookies()">Customize Cookies</button> <button (click)="acceptCookies()">Accept</button> </span>
,},
content:{
message: 'By using our site, you acknowledge that you have read and understood our Policy',
}
};
The text was updated successfully, but these errors were encountered: