libs/ngx-cookieconsent/src/lib/model/common-interfaces.ts
Interface representing the cookie consent status.
Properties |
allow |
allow:
|
Optional |
deny |
deny:
|
Optional |
dismiss |
dismiss:
|
Optional |
export interface NgcCompliance {
[key: string]: string;
}
/**
* Palette Options
*
* Colours can be defined in additional stylesheets or using attributes.
*/
export interface NgcPalette {
background?: string;
border?: string;
link?: string;
text?: string;
}
/**
* Layouts
*
* Just like the 'compliance' buttons are built using the '{{' and '}}' markers, the main layout can be built too like this too.
* The word between these two markers tell the tool what each element is called.
*/
export interface NgcLayouts {
[key: string]: string;
}
/**
* Interface representing the cookie consent status.
*/
export interface NgcCookieConsentStatus {
allow?: 'allow';
deny?: 'deny';
dismiss?: 'dismiss';
}