Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rss-virtual-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rss-virtual-keyboard - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "rss-virtual-keyboard",
"version": "1.0.2",
"version": "1.0.3",
"description": "Virtual keyboard for use in RSS tasks",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -5,4 +5,27 @@ ### How to use it

import Keyboard from 'rss-virtual-keyboard';
```
Init keyboard with input element selector and container selector
```javascript
const kb = new Keyboard().init('.input-field', '.keyboard-container');
```
Or use HTMLElements
```javascript
// Need to be HTMLInputElement or HTMLTextAreaElement
const input = document.createElement('input');
input.type = 'text';
// Any valid HTMLElement as container
const container = document.createElement('div');
const kb = new Keyboard().init(input, container);
```
And generate layout and subscribe on events
```javascript
// Then enerate layout to the dom
kb.generateLayout();

@@ -9,0 +32,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc