virtual icon indicating copy to clipboard operation
virtual copied to clipboard

feat(adapter): Add Vue Virtual Adapter

Open s-montigny-desautels opened this issue 3 years ago • 0 comments

Hi! I made a Vue adapter for virtual-core. Here is a stackblitz demo.

I am wrapping the Virtualizer instance with a shallowRef and manually calling triggerRef on it to keep reactivity. I am also calling both getScrollElement and estimateSize inside the watchEffect since most of the time, an Element is inside a ref and we need to update the options when it changes.

Plean let me know if you have any suggestions!

s-montigny-desautels avatar Sep 12 '22 21:09 s-montigny-desautels