spiegel-keyman/web/docs/engine/guide/examples/__first-example.html
Eberhard Beilharz c1113ac21d
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
chore(web): address code review comments
Also change a few places that I missed.
2026-06-08 19:27:12 +02:00

25 lines
748 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 src='https://s.keyman.com/kmw/engine/17.0.331/kmwuitoggle.js'></script>
<script>
keyman.init({
attachType:'auto'
}).then(async function() {
await keyman.addKeyboards('@en'); // Loads default English keyboard from Keyman Cloud (CDN)
await keyman.addKeyboards('@th'); // Loads default Thai keyboard from Keyman Cloud (CDN)
});
</script>
</head>
<body>
<h1>First Example</h1>
<p>Click me and type: <input placeholder="Hello World"/></p>
<a href="index">Back to Document</a>
</body>
</html>