libs/ngx-cookieconsent/src/lib/model/content-options.ts
Content Options.
Text strings used for cookie consent window elements.
Properties |
Optional allow |
Type : string
|
Default value : 'Allow cookies'
|
Optional close |
Type : string
|
Default value : '❌'
|
Optional deny |
Type : string
|
Default value : 'Decline'
|
Optional dismiss |
Type : string
|
Default value : 'Got it!'
|
Optional header |
Type : string
|
Default value : 'Cookies used on the website!'
|
Optional href |
Type : string
|
Default value : 'https://cookiesandyou.com'
|
Optional link |
Type : string
|
Default value : 'Learn more'
|
Optional message |
Type : string
|
Default value : 'This website uses cookies to ensure you get the best experience on our website.'
|
Optional policy |
Type : string
|
Default value : 'Cookie Policy'
|
Optional target |
Type : string
|
Default value : '_blank'
|
[key: string]:
|
export class NgcContentOptions {
header ? = 'Cookies used on the website!';
message ? = 'This website uses cookies to ensure you get the best experience on our website.';
dismiss ? = 'Got it!';
allow ? = 'Allow cookies';
deny ? = 'Decline';
link ? = 'Learn more';
href ? = 'https://cookiesandyou.com';
close ? = '❌';
policy ? = 'Cookie Policy';
target ? = '_blank';
[key: string]: string | undefined;
}