From a45fd20c35526bd6fc2a59d602941f54f259e0a0 Mon Sep 17 00:00:00 2001 From: Omri Katz Date: Wed, 22 Jul 2020 02:53:19 +0300 Subject: [PATCH] fix(80) update readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0fce6d3..ea5c93d 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Compatible with Angular 5+ * [Keyboardshortcuts](#ng-keyboard-shortcuts) * [HelpScreen](#ng-keyboard-shortcuts-help) * [Directive](#directive) - * [ngKeyboardShortcut](#ngKeyboardShortcut) + * [ngKeyboardShortcuts](#ngKeyboardShortcuts) * [Service](#service) * [KeyboardShortcutsHelpService](#KeyboardShortcutsHelpService) * [KeyboardShortcutsSelectService](#KeyboardShortcutsSelectService) @@ -288,13 +288,13 @@ export class AppComponent { ``` ## Directive -### ngKeyboardShortcut +### ngKeyboardShortcuts Directive that can only be used for focusable elements, such as textarea, select, input, etc... #### Inputs | Name | Type | default | description | |----------|:-------------:|-----------------: |:-------------:| -| ngKeyboardShortcut | ```Shortcut``` / ```Shortcut``` | [] | List of shortcuts see [types](#shortcut) | +| ngKeyboardShortcuts | ```Shortcut``` / ```Shortcut``` | [] | List of shortcuts see [types](#shortcut) | | disabled | `boolean` | `false` | disable the shortcuts for the directive | | disableScrolling | `boolean` | `true` | disable body scrolling while modal is open | @@ -306,7 +306,7 @@ import { ShortcutInput, ShortcutEventOutput, KeyboardShortcutsComponent } from " @Component({ selector: 'demo-component', - template: "" + template: "" }) export class DemoComponent implements AfterViewInit {