Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Build Your First Vue.js App > Lesson 44

Fixing search results

Our scroll load is pretty much finished. There are two little things that I want to add to make it perfect, though.

Firstly, the search message at the top says how many items are showing, but we really want this to be the number of items found. So 4 should be 11.

Easy fix, though, we can go to the template and insted of interpolating products.length, we interpolate results.length.

<div class="search-results" v-else>

Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom