Socket
Socket
Sign inDemoInstall

ngx-keyboard-shortcuts

Package Overview
Dependencies
5
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ngx-keyboard-shortcuts

Keyboard-shortcuts for creating and implementing keyboard events in Angular apps.


Version published
Weekly downloads
64
increased by120.69%
Maintainers
1
Install size
325 kB
Created
Weekly downloads
 

Readme

Source

Keyboard Shortcuts

Build Status codecov Greenkeeper badge

By using simple directives ngx-keyboard-shortcuts allows you to create and implement custom keybindings events in your angular applications.

For Example:

<button [keyboardShortcut]="keyboardShortcutDef" (click)="save()">
    Save
</button>
keyboardShortcutDef: IKeyboardShortcutListenerOptions = {
    description: 'save',
    keyBinding: [KeyboardKeys.Ctrl, KeyboardKeys.Shift, 's']
};

Install

npm --save install ngx-keyboard-shortcuts.

Usage

import { NgxKeyboardShortcutModule } from 'ngx-keyboard-shortcuts';

@NgModule({
    imports: [NgxKeyboardShortcutModule.forRoot()]
})
export class AppModule {}

Demos

see the demo site https://milestechnologies.github.io/ngx-keyboard-shortcuts

Contributing

Commands

npm start Run the demo environment

npm test Run tests

npm run lint Run linter

npm run build Build the package

Built With

  • Angular - The web framework used
  • Npm - The package manager

Version

1.0.1

Contributors

Thank you to the contributors of this package.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Keywords

FAQs

Last updated on 16 Dec 2020

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