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

ngx-virtual-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-virtual-keyboard

Virtual keyboard for ngx application

  • 1.0.56
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
83
increased by151.52%
Maintainers
1
Weekly downloads
 
Created
Source

ngx-virtual-keyboard

MIT licensed npm version

Quick Start

Prerequisites

  • Git
  • Angular (>= 4)
  • NPM (>= 3)

Install

Step 1: Install ngx-virtual-keyboard
# npm
npm i --save ngx-virtual-keyboard
Step 2: Import the module
import { NgxVirtualKeyboardModule }  from 'ngx-virtual-keyboard';

@NgModule({
  ...
  imports: [
    ...
    NgxVirtualKeyboardModule,
  ],
  ...
})
export class AppModule { }
Step 3: Component
import { Component } from '@angular/core';

@Component({
  ...
})

export class NgxVirtualKeyboardComponent implements OnInit {
  private layout: any = 'alphanumeric';
  // You can create your own layout
  // private layout: string = [
  //  ['1', '2', '0', 'Backspace'],
  //  ['3', '4', '6', 'Enter'],
  //  ['a', 'b', 'c']
  // ]'

  constructor() { }

  ngOnInit() {}

}
Step 4: Simple usage example
<input type="text" value=""
  [ngx-virtual-keyboard]="true"
  [ngx-virtual-keyboard-layout]="layout"
  [ngx-virtual-keyboard-disabled]="false"
/>
AttributeDescription
[ngx-virtual-keyboard]Required to initialize Virtual Keyboard to specified input. Can take boolean true or false to activate
[ngx-virtual-keyboard-layout]Used layout on keyboard, following keyboards are defaults that you can use alphanumeric, azerty, extended, numeric, phone
[ngx-virtual-keyboard-disabled]Disable keyboard keys if true

Demo

https://vtllr.github.io/ngx-virtual-keyboard/

Contribute

ngx-virtual-keyboard is Open Source, If you are interested in helping, please read the following:

Pull Request Guidelines

When in doubt, keep your pull requests small. To give a PR the best chance of getting accepted, do not bundle more than one "feature" or bug fix in one PR. Doing so makes it very hard to accept it if one of the fixes has issues.

It's always best to create two smaller PRs than one big one.

Style

Follow .editconfig

Thanks

To do

  • run demo on github pages

Keywords

FAQs

Package last updated on 01 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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