How to handle multiple listener in java script

79 views Asked by At

I am try to implement handling multiple touch listener and key listener in java script .Can anybody tell how to handle?

I have tried this way it is not working

document.body.addEventListener('touchstart','touchend','keypress' function(e){

Thanks

0

There are 0 answers