How to show table elements that fall within screen scope in vue?

  • 0
    Hello everyone!
    There is a task: you need to make an infinite table (vertically and horizontally), but when many elements are created, the page starts to slow down.

    The elements are displayed through v-for.
    How can you organize so that the elements on the pages are only those that are within the scope of the screen?

    I searched all over google and found no suitable solutions or plugins. I would be very grateful for your help!
    JavaScript Elliott Nelson, May 19, 2019

  • 1 Answers
  • 0
    This is called the Virtual Scroll. The Internet is full of implementations.

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!