Virtual scrolling is a feature of the AngularJS framework. Sometimes a developer or company wants to show thousands of items in a table or list, which may slow down the application speed, but virtual scrolling overcomes this problem. The virtual scrolling method shows only a small subset of data available in the viewport, which puts the number of DOM elements constant, which maintains the speed of the application and doesn’t let it slow down.
We need to use CDK (Component Dev Kit) to implement virtual scrolling, which provides this set of tools. It would help if you imported the dependency of CDK, which contains a virtual scrolling feature. After that, you need to add a scrolling component that takes all the values together.