Skip to content

lotrekagency/doria

Repository files navigation

Doria

Build Status codecov

🍪 The cookie box loved by cookies' fanatics

Build

git clone https://github.com/lotrekagency/doria
yarn install
yarn build

And you have in lib folder, compiled Doria Lib

Usage

let doria = new DoriaCookieBox();
doria.addCookieSettings('default', 'Default', 'Accept default cookies', true);
doria.addCookieSettings('marketing', 'Marketing', 'Accept Marketing cookies');
doria.on('default', () => {
    // Execute your script
})
doria.on('marketing', () => {
    // Execute your script
})
doria.bake()

Development

To run test suite

yarn test

See demo on index.html

About

🍪The cookie box loved by cookies' fanatics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published