mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
- replace use of `kmw` with `keyman` - unify pattern to load keyboards: do it in `keyman.init().then()` instead of in the document `onload` Part-of: keymanapp/keyman.com#449 Test-bot: skip
28 lines
652 B
HTML
28 lines
652 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script src='https://s.keyman.com/kmw/engine/17.0.331/keymanweb.js'></script>
|
|
<script>
|
|
keyman.init().then(function() {
|
|
keyman.addKeyboards({
|
|
id:'laokeys',
|
|
name:'Lao (Phonetic)',
|
|
languages:{
|
|
id:'lo',
|
|
name:'Lao'
|
|
},
|
|
filename:'./js/laokeys.js'
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<h1>Automatic Mode Example</h1>
|
|
<form action='.' method='post'>
|
|
<p><input type='text' id='multilingual' name='multilingual' size="40" /></p>
|
|
<p><textarea cols='40' rows='5'></textarea></p>
|
|
</form>
|
|
|
|
<a href="automatic-control">Back to Document</a>
|
|
</body>
|
|
</html>
|