Documentation
On this page

Function · Data and Templates

createVirtualList

Creates a virtualized native list from a logical item collection.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:851 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.