Actually, the code is unyielding. We can't change the IDs of the buttons and the link, or change the duration of the cookie. I think it would be better if we can pass an object to the constructor like :
var parameters = {
"too": bar,
};
var cookiesBanner = new CookiesCnilBanner(analyticFunction, parameters);
Actually, the code is unyielding. We can't change the IDs of the buttons and the link, or change the duration of the cookie. I think it would be better if we can pass an object to the constructor like :