1.1.2 • Published 6 years ago

keypress-event v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Capture the specified shortcut

Usage

import Keypress from 'keypress-event'

Keypress.registerShortcut(['ctrl', 'alt', 'u'], () => {
  console.log('Ctrl+Alt+u trigger')
})
Keypress.start()

When You press the shortcut at the sametime, the callback function will be executed.

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago