Socket
Socket
Sign inDemoInstall

@protacon/ng-virtual-keyboard

Package Overview
Dependencies
13
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @protacon/ng-virtual-keyboard

Virtual Keyboard for Angular applications


Version published
Weekly downloads
1
decreased by-90%
Maintainers
6
Install size
63.1 MB
Created
Weekly downloads
 

Changelog

Source

[0.12.0]

Changed

  • Migrated to Angular 8

Readme

Source

ng-virtual-keyboard

MIT licensed npm version npm Dependency Status devDependency Status

What is this?

Virtual Keyboard for Angular applications

See CHANGELOG.md

Install

Step 1: Install @protacon/ng-virtual-keyboard

$ npm install --save @protacon/ng-virtual-keyboard

Step 2: Import the module

Add NgVirtualKeyboardModule as an import in your app's root NgModule.

import { NgVirtualKeyboardModule }  from '@protacon/ng-virtual-keyboard';

@NgModule({
  ...
  imports: [
    ...
    NgVirtualKeyboardModule,
  ],
  ...
})
export class AppModule { }

Usage

Simple usage example

<input type="text" value=""
  ng-virtual-keyboard
  ng-virtual-keyboard-layout="alphanumeric"
  ng-virtual-keyboard-placeholder="Custom placeholder text"
  (ng-virtual-keyboard-close)="onClose()"
/>
AttributeDescription
ng-virtual-keyboardRequired to initialize Virtual Keyboard to specified input
ng-virtual-keyboard-layoutUsed layout on keyboard, following keyboards are defaults that you can use alphanumeric, alphanumericNordic, extended, extendedNordic, numeric, phone
ng-virtual-keyboard-placeholderOverride placeholder text, if input has not any - or you want to override input placeholder value
ng-virtual-keyboard-closeListener for keyboard closing event

Demo

https://by-pinja.github.io/ng-virtual-keyboard/

Local development

For easier local development, Docker can be used for compiling and testing the keyboard. To run virtual keyboard from local docker environment, execute following:

docker-compose up

After this is ready, navigate to http://localhost:4200/

To avoid installing node etc. locally, execute.sh can be used to exceute command with current version of supported container.

Lint example:

bash execute.sh yarn lint

Basically this is just a shorthand for docker run -it --rm -w /app -v ${PWD}/:/app node:12-alpine3.14 "$@"

License

The MIT License (MIT)

Copyright (c) 2017 Protacon

Keywords

FAQs

Last updated on 10 Aug 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc