Last active
August 29, 2015 14:06
-
-
Save garrilla/3e4365d5ed6872505727 to your computer and use it in GitHub Desktop.
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
Template.myTemplate.events({ | |
'keypress #myclass': function (evt){ | |
if(evt.which==13){ | |
//do something because a return was pressed | |
} | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment