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 43

Appending items

Now we need to get the appendResults function to do its job. Remember that this method is called every time we reach the bottom of the page.

What it should do is check if there are any more objects inside the results array which have not yet been added to the products array.

If there are, it should append the next 4 to the products array. If there aren't, it doesn't need to do anything.

Conditional logic


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