enter
Watches for when enter keys are pressed on a given element
events
var events = require("can-util/dom/events/events");
var input = document.createElement("input");
function enterEventHandler() {
console.log("enter key pressed");
}
events.addEventHandler.call(input, "enter", enterEventHandler);
events.dispatch.call(input, {
type: 'keyup',
keyCode: keyCode
});