Ngày đăng: 13/03/2018

Get a key event type ?


How can I get the type of a key event (keypress, keyup etc...).
In a normal Javascript code I use addEventListener or attachEvent, 
but how does it work with the API.
Can someone gives me a piece of code ?

Please help.

I didn't find the right solution from the Internet.

Custom animation agency