useVirtualLayout()
function useVirtualLayout(model): VirtualVueLayoutBinding;Connect Vue template refs for the three layout elements.
Parameters
model
Returns
Related examples
- Simple PrimitivesvueThis example builds a list from the adapter's lower-level model, layout, range, and item primitives instead of its high-level list binding.
- Nested ContainervueThis example separates the native scroll owner from the element that contains the virtual range. Content can appear before the list while core still measures the nested offset and publishes the correct geometry.
- Window ScrollvueThis example uses the browser window as the native scroll owner while the virtual range remains nested inside ordinary page content.