New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-keyboard-shortcuts

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

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.

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 16 Dec 2020

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