aw-cookie
v0.5.30
Published
Add cookie rgpd layer
Downloads
15
Readme
AW Cookie
Install
$ yarn add aw-cookie --save
or
$ npm install aw-cookie --save
Use
<script src="aw-cookie.min.js"></script>
<script>
window.awCookie = new AwCookie();
window.awCookie.init({
mode: 'simple-banner' // simple-banner / forced-choice / all-accepted
lang: 'fr',
path: '/path-to-files/',
pathToDetails: 'link-to-detail-of-cookies.html',
services: { }
});
</script>