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

509 B

title
getSavedKeyboard

Summary

Get the (internal) keyboard name and language code of the most recently active keyboard, as stored in KeymanWeb's cookie management system.

Syntax

keyman.getSavedKeyboard();

Parameters

None.

Return Value

string
Format: Internal-Name:Language-Code

Description

This function is used to automatically restore the last keyboard selected by a user in order to restore it upon a new visit to the page KeymanWeb is embedded within.