According to the docs, I should be able to handle key events like keyup, keypress, blur, focus and change in the same way as I can handle the click event.
The events keyword is used to specify that, within the coming block of code, we able to specify one or more events.
There are some usefull events in Blaze with Meteor
Template.templateName.events({ "click #yourId": function() { }, "keyup #yourId": function() { }, "keypress #yourId": function() { }, "blur #yourId": function() { }, "focus #yourId": function() { }, "change #yourId": function() { } });
THANKS
More From Oodles
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Balraj Singh
Balraj is a creative UI designer with experience and capabilities to build compelling UI designs for Web and Mobile Applications. Balraj likes playing tech Quiz and loves bike riding.