teclado.js
v0.0.5
Published
Simple virtual keyboard inspired by mobile keyboards.
Downloads
13
Readme
teclado.js
Simple virtual keyboard inspired by mobile keyboards.
- No external dependencies
- Light-weight, <4kb gzipped size
- Written in TypeScript
📖 Documentation | 🌐 Live example
📦 Install
npm i teclado.js
# Or with yarn
yarn add teclado.js
# Or with pnpm
pnpm add teclado.js
⌨️ Basic Usage
<input type="text" id="inputId" />
import { teclado } from 'teclado.js';
var tcld = teclado();
tcld.on('inputId', {
onChange: value => {
document.getElementById('inputId').value = value;
}
});
🛠️ Development
pnpm install
pnpm run dev