W
W
Wayne12121212020-10-21 09:02:17
JavaScript
Wayne1212121, 2020-10-21 09:02:17

How to show table elements that enter screen scope in vue?

Hello!
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 output of elements goes through v-for.
How can I organize that the elements on the page are only those that are included in the scope of the screen?

I searched all over Google and did not find suitable solutions and plugins. I would be very grateful for your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-10-21
@Wayne1212121

It's called Virtual Scroll. There are many implementations on the Internet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question