Functions to create Virtualize components.
Function or value | Description |
|
The contents of the computation expression should be:
1. component parameters, if any;
2.
Example
Multiple items
val seq: sequence: seq<'T> -> seq<'T> -------------------- type seq<'T> = System.Collections.Generic.IEnumerable<'T> |
Full Usage:
itemSize v
Parameters:
single
-
The height of an item.
Returns: Attr
Modifiers: inline |
|
Full Usage:
items items
Parameters:
IReadOnlyCollection<'item>
-
The collection of items.
Returns: VirtualizeItemsDeclaration<'item>
Modifiers: inline Type parameters: 'item |
Example
Multiple items
val seq: sequence: seq<'T> -> seq<'T> -------------------- type seq<'T> = System.Collections.Generic.IEnumerable<'T> |
Full Usage:
itemsProvider itemsProvider
Parameters:
ItemsProviderRequest -> ValueTask<ItemsProviderResult<'item>>
-
The function that generates items on the fly.
Returns: VirtualizeItemsDeclaration<'item>
Modifiers: inline Type parameters: 'item |
Example
val task: TaskBuilder
Multiple items
val seq: sequence: seq<'T> -> seq<'T> -------------------- type seq<'T> = System.Collections.Generic.IEnumerable<'T> |
Full Usage:
overscanCount v
Parameters:
int
-
The number of extra items to load.
Returns: Attr
Modifiers: inline |
|
Full Usage:
placeholder v
Parameters:
PlaceholderContext -> Node
-
The placeholder content.
Returns: Attr
Modifiers: inline |
|