holmberd / virtual-scroller Goto Github PK
View Code? Open in Web Editor NEWA custom web component for efficiently rendering lists with large number of elements.
License: BSD 3-Clause "New" or "Revised" License
A custom web component for efficiently rendering lists with large number of elements.
License: BSD 3-Clause "New" or "Revised" License
virtual-scroller/src/virtual-scroller.js
Lines 264 to 277 in 8a53594
removeEventListener
on LN275 is not using the bound handler reference at LN264.
Update to store a reference to the scroll
event handler and use that to remove the handler on unmount.
Code examples are great but it would be good if there were some interactive examples to play with, e.g. scrollable list.
The component should support horizontal scrolling, e.g. for horizontal tag scroller. We should therefore add a horizontal-virtualization module similar to the vertical-virtualization module.
vertical-virtualization.js
).This package could benefit from adding Typescript and types.
Add class property to change between LTR and RTL (direction: rtl).
If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position (at the start of the scrolled content), and then increasingly negative as you scroll towards the end of the content.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.