Created
August 3, 2011 13:46
-
-
Save rsanchez1/1122674 to your computer and use it in GitHub Desktop.
enyo key input example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{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"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Its cool !