Skip to content

Instantly share code, notes, and snippets.

@rsanchez1
Created August 3, 2011 13:46
Show Gist options
  • Save rsanchez1/1122674 to your computer and use it in GitHub Desktop.
Save rsanchez1/1122674 to your computer and use it in GitHub Desktop.
enyo key input example
{kind: "Input", name: "email", hint: "", value: "", onkeypress: "inputChange"},
inputChange: function(source, event) {
enyo.log("called the input change event");
if (event.keyCode == 13) {
enyo.log("pressed enter button, submit form");
}
}
@ajaypatelaj
Copy link

Its cool !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment