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

systelab-virtual-keyboard

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systelab-virtual-keyboard

Systelab Virtual Keyboard is a on-screen keyboard focused on touch devices.

  • 18.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

SystelabVirtualKeyboard

Systelab Virtual Keyboard is a on-screen keyboard focused on touch devices.

Using the directive

Before use the directive you have to import the module into your application.

NgModule({
  imports: [
    ...,
    SystelabVirtualKeyboardModule.forRoot(config),
  ]
})

Where config is an object with type SystelabVirtualKeyboardConfig. See SystelabVirtualKeyboardConfig for details

Then the virtual keyboard can be enabled for inputs or textareas. To enable it the attribute vkEnabled can be used into the desire HTML element. It can be binding dynamically in the same way [vkEnabled]="vkEnabledVariable"

<input class="input" type="number" placeholder="Numeric input default layout" vkEnabled vkFixedBottom [vkConfig]="vkConfig">

Directive options

The default behaviour can be changed through some attributes:

NameTypeDefaultDescription
vkEnabledbooleantrueEnable the virtual keyboard for the element. If the property exists, the default value is true; if not, is false
vkFixedBottomboolestrueFix the virtual keyboard to the bottom of the page. If the property exists, the default value is true; if not, is false
vkConfigSystelabVirtualKeyboardConfigConfiguration object that overrides some default behaviours. See SystelabVirtualKeyboardConfig for details

Configuration object

The configuration params are describe into the interface SystelabVirtualKeyboardConfig

NameTypeDefaultDescription
layoutSystelabVirtualKeyboardLayoutsUsually the virtual keyboard select the layout between default or numeric depending on the input type. But with the config object you can override this behaviour and force the desired layout. The available layouts are described in the enum SystelabVirtualKeyboardLayouts
inputMethodSystelabVirtualKeyboardInputMethodsThe method detected for the keyboard to click or touch the keys
showButtonbooleanfalseShow or hide the button for showing the keyboard
showOnMouseClickbooleanfalseShows virtual keyboard upon mouse click on input field

FAQs

Package last updated on 29 Jul 2024

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