0.0.3 • Published 6 years ago
idai-cookie-notice v0.0.3
idai-cookie-notice
Simple JS library for creating a notice that cookies are used on the website.
The library handles displaying the message and saving the fact in a cookie that the user gave her consent by clicking the dismiss-button. The message is shown again after 30 days.
Installation
npm i idai-cookie-notice --save
Usage
Just include idai-cooke-notice.js
in your HTML.
Styling
Styling uses bootstrap classes but can be customised using CSS with the id #idai-cookie-notice
.