Aureliaプラットフォーム(WebStorm + Aurelia + Typescript)で書かれた私のプロジェクトでオンスクリーンキーボードを使いたいです。このためには、JavaScript/HTMLベースのキーボードを使用する必要があります。 次のコードは、私のために適している:私はプロジェクトにこのコードを統合する方法を知らないAureliaでスクリーンキーボードを使用するには?
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script src="https://code.jquery.com/jquery-git.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css">
<link rel="stylesheet" href="https://mottie.github.io/Keyboard/css/keyboard.css">
<script src="https://mottie.github.io/Keyboard/js/jquery.keyboard.js"></script>
<script src="https://mottie.github.io/Keyboard/js/jquery.mousewheel.js"></script>
<script src="https://mottie.github.io/Keyboard/js/jquery.keyboard.extension-typing.js"></script>
<script>
/* VIRTUAL KEYBOARD DEMO - https://github.com/Mottie/Keyboard */
$(function() {
$('#keyboard').keyboard({
layout: 'qwerty'
})
// activate the typing extension
.addTyping({
showTyping: true,
delay: 250
});
});
</script>
</head>
<body>
<div id="wrap">
<input id="keyboard" type="text" />
</div>
</body>
</html>
<body>
<div id="wrap">
<input class="keyboard" type="text" />
<input class="keyboard" type="text" />
<input class="numpad" type="text" />
</div>
</body>
</html>
。手伝っていただけませんか?
これは公開されています。狭めてください。 – evolutionxbox
私はそれをしました。ありがとうございました。 – Sohrab
申し訳ありませんが、私は失礼ではありません。 --- _ "プロジェクトでこのコードをどのように統合できるか" _は非常に未解決の問題です。どのようにできるかについての記事が書かれています。 IMOこれはStackOverflowには適していません。 – evolutionxbox