Skip to content

Commit

Permalink
bump version and update package readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri Katz committed Aug 7, 2020
1 parent 3539e0f commit a9b015e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions projects/ng-keyboard-shortcuts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,18 @@ export class AppComponent {
<h1>
Welcome to {{ title }}!
</h1>
<ng-keyboard-shortcuts-help [key]="'f1'" [closeKey]="'escape'" [title]="Help"></ng-keyboard-shortcut-help>
<ng-keyboard-shortcuts-help [key]="'f1'" [closeKey]="'escape'" [title]="'Help'"></ng-keyboard-shortcut-help>
</div>

```

## Directive
### ngKeyboardShortcuts
Directive that can only be used for focusable elements, such as textarea, select, input, etc...
Directive can only be used for focusable elements, such as textarea, select, input, etc...
##### Important:
The shortcut then will only be active while the element is in __focus__.


#### Inputs
| Name | Type | default | description |
|----------|:-------------:|-----------------: |:-------------:|
Expand Down
2 changes: 1 addition & 1 deletion projects/ng-keyboard-shortcuts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ng-keyboard-shortcuts",
"version": "10.1.11",
"version": "10.1.12",
"description": "Dead Simple Keyboard Shortcuts Management for Angular 2+",
"keywords": [
"angular",
Expand Down

0 comments on commit a9b015e

Please sign in to comment.