OnKeyUp event in Js with setTimeOut

0

I would like to know if there is any way to do that some 5 seconds after I stop typing a certain code is executed, I currently use it in the keyUp event, but this is immediate. ex: I press the A key (I am waiting for 5 sec), but after 1 sec, I type again, then wait for another 5 sec.

I do not know how possible this is

    
asked by carlos 07.12.2018 в 13:01
source

0 answers