1.1.2 • Published 7 years ago

keypress-event v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago