spiegel-keyman/web/docs/engine/reference/util/saveCookie.md
Marc Durdin 6c145cb775 refactor(web): move web engine help to app repo
Note: build.sh updated to make sure that test:help build action:target
doesn't also call test.sh by adding `:_all` meta-target.

Note: CI will need a new help-keyman-com.sh build step to deploy web
engine help.

Fixes: #12347
2024-10-31 11:00:06 +07:00

31 lines
323 B
Markdown

---
title: saveCookie
---
## Summary
Save document variables as a cookie.
## Syntax
```c
keyman.util.saveCookie(cn, cv);
```
### Parameters
`cn`
: Type: `string`
: Name of the cookie to save.
`cv`
: Type: `Object`
: An array of named arguments and values.
### Return Value
`undefined`
## Description
...