Hotkey Notation
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
> **Note**: This can be applied on any event. For example:
> ```html
>
> ```
## Modifier
- Works by checking [.getModifierState(key)](https://developer.mozilla.org/en-US/search?q=getModifierState)
- Use `-` as delimiter
```html
```
## Combination
- Works by queue `.key` value on `keydown` event. Delete queued `.key` on `keyup` event. The method will get called when the event fired while all key combination is in queue.
- Use `+` as delimiter
```html
```
## Sequence
- Works by queue `.key` value on `keyup` event. Reset queue on `keydown` event if no matches. The method will get called when the event fired while all key sequence is in queue without getting reset.
- Use `,` as delimiter
```html
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue specifies modifier, combination, and sequence hotkey behavior but names no implementation files or tests. Start by locating the event-handling entry point and reviewing how event directives are parsed; verify the three delimiter forms and their keydown, keyup, and modifier-state behavior with focused tests or examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100