async nextResultsPage () {
  if (this.numHits > 10) {
    this.searchOffset += 10
    if (this.searchOffset + 10 > this.numHits) { this.searchOffset = this.numHits - 10}
    this.searchResults = await this.search()
    document.documentElement.scrollTop = 0
  }
}
/** Get next page of search results */
Get next page of search results
Get next page of search results
async nextResultsPage () {
  if (this.numHits > 10) {
    this.searchOffset += 10
    if (this.searchOffset + 10 > this.numHits) { this.searchOffset = this.numHits - 10}
    this.searchResults = await this.search()
    document.documentElement.scrollTop = 0
  }
}
async nextResultsPage ( ) { if ( this . numHits > 10 ) { this . searchOffset += 10 if ( this . searchOffset + 10 > this . numHits ) { this . searchOffset = this . numHits - 10 } this . searchResults = await this . search ( ) document . documentElement . scrollTop = 0 } }
Get next page of search results
Get next page of search results