-
Notifications
You must be signed in to change notification settings - Fork 0
cookieHandler create
Mike Byrne edited this page Jan 25, 2022
·
2 revisions
Creates a cookie with optional expiration date
- nothing
- name - required - name of cookie
- value - required - value of cookie
- days - optional - expiry time, in days. If non specified the cookie expires when the browser window is closed
- nothing
import { cookieHandler } from '@area17/a17-helpers';
cookieHandler.create('splash',true,1);