GithubHelp home page GithubHelp logo

soruto-web-keyboard's Introduction

Soruto-Web-Keyboard

ウェブブラウザで使える、仮想キーボード。

サンプル

https://sorutoproject.github.io/Soruto-Web-Keyboard/index.html

使い方

<html>
<head>
<script>
window.onload = function(){
//要素にSoruto Web Keyboardを適用
//webKeyboard.add(適用する要素のセレクターの文字列)
webKeyboard.add("#input",{
      placeholder:"曲名を入力...",//仮想キーボードのテキストボックスが空のときに表示する文字列
      //仮想キーボードの「OK」ボタンが押されたとき(引数には仮想キーボードで確定された文字列が入る)
      onEnter:function(text){
            alert("入力内容:" + text);
      }
});
}
</script>
<script src="dist/soruto-WebKeyboard.js"></script>
<link rel="stylesheet" href="dist/soruto-WebKeyboard.css">
</head>
<body>
あなたの好きな曲
<div id="input"></div>
<style>
#input {
width: 100%;
height: 1.5em;
border: #0058d0 1px solid;
}
</style>
</body>
</html> 

soruto-web-keyboard's People

Contributors

sorutoproject avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.