mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-21 07:47:40 +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
32 lines
361 B
Markdown
32 lines
361 B
Markdown
---
|
|
title: saveCookie
|
|
---
|
|
|
|
## Summary
|
|
|
|
Save document variables as a cookie.
|
|
|
|
## Syntax
|
|
|
|
```js
|
|
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`
|
|
|
|
## See also
|
|
|
|
* [`keyman.util.loadCookie()`](loadCookie)
|
|
|