settimeout vue test code example Example: settimeout in vuejs setTimeout(function () { this.fetchHole() }.bind(this), 1000)