mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
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
23 lines
No EOL
735 B
HTML
23 lines
No EOL
735 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>KeymanWeb - A First Example</title>
|
|
|
|
<!-- Start of Code -->
|
|
<script src='https://s.keyman.com/kmw/engine/17.0.331/keymanweb.js'></script>
|
|
<script>var kmw = keyman;</script>
|
|
<script src='https://s.keyman.com/kmw/engine/17.0.331/kmwuitoggle.js'></script>
|
|
<script>
|
|
(function() {
|
|
keyman.init({attachType:'auto'}).then(function() {
|
|
keyman.addKeyboards('@en'); // Loads default English keyboard from Keyman Cloud (CDN)
|
|
keyman.addKeyboards('@th'); // Loads default Thai keyboard from Keyman Cloud (CDN)
|
|
});
|
|
})(keyman);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>Click me and type: <input placeholder="Hello World"/></p>
|
|
</body>
|
|
</html> |