
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@protacon/ng-virtual-keyboard
Advanced tools
Virtual Keyboard for Angular applications
$ npm install --save @protacon/ng-virtual-keyboard
Add NgVirtualKeyboardModule
as an import in your app's root NgModule.
import { NgVirtualKeyboardModule } from '@protacon/ng-virtual-keyboard';
@NgModule({
...
imports: [
...
NgVirtualKeyboardModule,
],
...
})
export class AppModule { }
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()"
/>
Attribute | Description |
---|---|
ng-virtual-keyboard | Required to initialize Virtual Keyboard to specified input |
ng-virtual-keyboard-layout | Used layout on keyboard, following keyboards are defaults that you can use alphanumeric, alphanumericNordic, extended, extendedNordic, numeric, phone |
ng-virtual-keyboard-placeholder | Override placeholder text, if input has not any - or you want to override input placeholder value |
ng-virtual-keyboard-close | Listener for keyboard closing event |
https://by-pinja.github.io/ng-virtual-keyboard/
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 "$@"
Copyright (c) 2017 Protacon
[0.12.0]
FAQs
Virtual Keyboard for Angular applications
The npm package @protacon/ng-virtual-keyboard receives a total of 6 weekly downloads. As such, @protacon/ng-virtual-keyboard popularity was classified as not popular.
We found that @protacon/ng-virtual-keyboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.