mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-20 15:27:43 +00:00
Deprecate the following obsolete functions and properties: * `keyman.helpURL` * `keyman.util.rgba` * `keyman.util.toFloat` * `keyman.util.toNumber` * `keyman.util.toNzString` Use correct language for code blocks in Keyman Engine for Web documentation. Test-bot: skip
28 lines
429 B
Markdown
28 lines
429 B
Markdown
---
|
|
title: loadCookie
|
|
---
|
|
|
|
## Summary
|
|
|
|
Get a document cookie, or an array of all document cookies.
|
|
|
|
## Syntax
|
|
|
|
```js
|
|
keyman.util.loadCookie(cn);
|
|
```
|
|
|
|
### Parameters
|
|
|
|
`cn`
|
|
: Type: `string` **optional**
|
|
: Name of the cookie to be loaded if not loading the default cookie.
|
|
|
|
### Return Value
|
|
|
|
`Array`
|
|
: An array of names and strings or an array of variables and values.
|
|
|
|
## See also
|
|
|
|
* [`keyman.util.saveCookie()`](saveCookie)
|