1.4.1 • Published 6 years ago

key-emitter v1.4.1

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

key emitter

minor snippet to react to key stroke

Arrow key

For every key down or key up operation, it will trigger a change event. Enter key will trigger commit event;

For change handler, it will receive a next index value;

for commit handler, it will receive a current triggered index value.

options

max

It's requried, which will indicate the max index value on key down or key up.

1.4.1

6 years ago

1.4.0

6 years ago

1.3.9

6 years ago

1.3.8

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago