spiegel-keyman/web/docs/engine/reference/util/loadCookie.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

28 lines
393 B
Markdown

---
title: loadCookie
---
## Summary
Get a document cookie, or an array of all document cookies.
## Syntax
```c
keyman.util.loadCookie(cn);
```
### Parameters
`cn`
: Type: `string` **optional**
: Name of the cookie to be loaded if not loading the default cookie.
### Return Value
`Object`
: An array of names and strings or an array of variables and values.
## Description
...