Skip to content

segment-boneyard/on-enter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

on-enter

Attach an enter key handler.

Installation

$ component install segmentio/on-enter

API

onEnter(fn)

Bind a handler fn(event) to be called when the Enter key is pressed.

.unbind(fn)

Unbinds a handler fn.

.bind(fn)

For symmetry.

License

MIT

About

Simply attach an enter key handler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published