UNPKG

cookie-service-banner

Version:

[![npm version](https://badge.fury.io/js/cookie-service-banner.svg)](https://badge.fury.io/js/cookie-service-banner) [![Build Status](https://travis-ci.org/liyokuna/cookie-consent.svg?branch=master)](https://travis-ci.org/liyokuna/cookie-consent) [![depen

48 lines (47 loc) 1.41 kB
import { OnInit, EventEmitter } from '@angular/core'; import { CookieServiceService } from './service/cookie-service.service'; import { ConfigService } from './service/config.service'; export declare class CookieServiceComponent implements OnInit { private cookiemanager; private cookieconfig; GA_ID: string; header: string; message: string; HeaderColor: string; HeaderBackgroundColor: string; domain: string; AcceptMessage: string; AcceptEnable: boolean; AcceptColor: string; AcceptBackgroundColor: string; DenyMessage: string; DenyEnable: boolean; DenyColor: string; DenyBackgroundColor: string; AllowMessage: string; AllowEnable: boolean; AllowColor: string; AllowBackgroundColor: string; LearnMoreMessage: string; LearnMoreEnable: boolean; LearnMoreLink: string; LearnMoreColor: string; ReviewEnable: boolean; Review: string; ReviewColor: string; ReviewBcolor: string; showAlertCookie: boolean; isOpened: EventEmitter<boolean>; constructor(cookiemanager: CookieServiceService, cookieconfig: ConfigService); ngOnInit(): void; private getValues; private getColors; cssClass(color: string, bcolor: string): { color: string; 'background-color': string; 'border-color': string; }; deny(): void; allow(): void; review(): void; }