[Vuejs]-VueJS, timeout not wating for timer

3👍

You are calling this.parse(url)
but you need to pass function
https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout

          this.typingTimer = setTimeout(
           () => this.parse(url),
            this.doneTypingInterval
        );
👤dimas

Leave a comment