Go to rebrand

Cookie Util

The cookie util is a helper to handle all the actions related to cookies in the browser. For now, it supports check cookie existence, get a cookie value, set a cookie and delete a cookie.

How to use

Make sure to include the file below into your page or project:

<script defer src="{{ static("js/ca_styleguide_cookie_util.js") }}"></script>


Check cookie existence value via checkExistenceOf() method

Get cookie value via getValueOf() method

Delete cookie via deleteCookie() method

Set cookie via setCookie() method

Update cookie via updateCookie() method