Documentation
On this page

Function · Data and Templates

createVirtualList

Creates a virtualized native list from a logical item collection.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Signature

TypeScript
createVirtualList(props: VirtualListProps<T>): GuiElement

Parameters

NameTypeDescription
propsVirtualListProps<T>Items, viewport range, key selector, and item renderer.

Returns

GuiElement — A VirtualizingList element containing the visible item window.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:851 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.