LoadingIndicator Class

public class LoadingIndicator : ComponentBase

No documentation is available.

Inheritance
ComponentBase LoadingIndicator

Constructors

NameDescription
LoadingIndicator()

LoadingIndicator()

LoadingIndicator.razor
public LoadingIndicator()

No documentation is available.

Properties

NameDescription
ChildContentGets or sets the content to display when not loading.
IsLoadingGets or sets whether the component is in a loading state.
LoadingTemplateGets or sets a custom template to display while loading. Takes precedence over LoadingIndicator.LoadingText.
LoadingTextGets or sets the text to display while loading. Default is "Loading...".

Gets or sets the content to display when not loading.

public RenderFragment? ChildContent { get; set; }

Property value

RenderFragment?

Gets or sets whether the component is in a loading state.

public bool IsLoading { get; set; }

Property value

bool

LoadingTemplate

LoadingIndicator.razor

Gets or sets a custom template to display while loading. Takes precedence over LoadingIndicator.LoadingText.

public RenderFragment? LoadingTemplate { get; set; }

Property value

RenderFragment?

Gets or sets the text to display while loading. Default is "Loading...".

public string LoadingText { get; set; }

Property value

string

Methods

NameDescription
BuildRenderTree(RenderTreeBuilder)

BuildRenderTree(RenderTreeBuilder)

LoadingIndicator.razor
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

No documentation is available.