InfiniteScrolling<T> Class
public class InfiniteScrolling<T> : ComponentBase, IAsyncDisposableType parameters
T
No documentation is available.
- Inheritance
ComponentBaseInfiniteScrolling<T>- Implements
Constructors
| Name | Description |
|---|---|
| InfiniteScrolling() |
InfiniteScrolling()
InfiniteScrolling.razorpublic InfiniteScrolling()No documentation is available.
Properties
| Name | Description |
|---|---|
| ItemTemplate | Gets or sets the template for rendering each item. |
| ItemsProvider | Gets or sets the delegate that provides items to display. This delegate is called when more items need to be loaded. |
| LastItemIndicatorElement | Gets or sets the tag name of the HTML element that will be used as the virtualization spacer. One such element will be rendered before the visible items, and one more after them, using an explicit "height" style to control the scroll range. The default value is "div". If you are placing the InfiniteScrolling<T> instance inside an element that requires a specific child tag name, consider setting that here. For example when rendering inside a "tbody", consider setting InfiniteScrolling<T>.LastItemIndicatorElement to the value "tr". |
| LoadingTemplate | Gets or sets the template to display while loading more items. |
ItemTemplate
InfiniteScrolling.razorGets or sets the template for rendering each item.
public RenderFragment<T>? ItemTemplate { get; set; }Property value
ItemsProvider
InfiniteScrolling.razorGets or sets the delegate that provides items to display. This delegate is called when more items need to be loaded.
public InfiniteScrollingItemsProviderRequestDelegate<T>? ItemsProvider { get; set; }Property value
LastItemIndicatorElement
InfiniteScrolling.razorGets or sets the tag name of the HTML element that will be used as the virtualization spacer. One such element will be rendered before the visible items, and one more after them, using an explicit "height" style to control the scroll range. The default value is "div". If you are placing the InfiniteScrolling<T> instance inside an element that requires a specific child tag name, consider setting that here. For example when rendering inside a "tbody", consider setting InfiniteScrolling<T>.LastItemIndicatorElement to the value "tr".
public string LastItemIndicatorElement { get; set; }Property value
LoadingTemplate
InfiniteScrolling.razorGets or sets the template to display while loading more items.
public RenderFragment? LoadingTemplate { get; set; }Property value
Methods
| Name | Description |
|---|---|
| BuildRenderTree(RenderTreeBuilder) | |
| DisposeAsync() | |
| LoadMoreItems() | |
| OnAfterRenderAsync(bool) | |
| OnParametersSet() | |
| RefreshDataAsync() |
BuildRenderTree(RenderTreeBuilder)
InfiniteScrolling.razorprotected override void BuildRenderTree(RenderTreeBuilder __builder)Parameters
__builderRenderTreeBuilder
No documentation is available.
DisposeAsync()
InfiniteScrolling.razorLoadMoreItems()
InfiniteScrolling.razorOnAfterRenderAsync(bool)
InfiniteScrolling.razorOnParametersSet()
InfiniteScrolling.razorprotected override void OnParametersSet()No documentation is available.