1.4.1 • Published 8 years ago

key-emitter v1.4.1

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

8 years ago

1.4.0

8 years ago

1.3.9

8 years ago

1.3.8

8 years ago

1.3.7

8 years ago

1.3.6

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago