Blazorise Loading Indicator API
Explore the Blazorise Loading Indicator API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Loading Indicator documentation.
API
Parameters
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
Specifies the content to be rendered inside this LoadingIndicator. |
RenderFragment | null |
FadeIn |
Fade in indicator into view. |
bool | false |
FadeInDuration |
Fade in duration in milliseconds. Default is 700 ms. |
TimeSpan | TimeSpan.FromMilliseconds( 700 ) |
FullScreen |
Show busy indicator full screen. |
bool | false |
IndicatorBackground |
Busy screen color. |
Background | "rgba(255, 255, 255, 0.7)" |
IndicatorHorizontalPlacement |
Indicator horizontal position. Possible values: |
LoadingIndicatorPlacement | LoadingIndicatorPlacement.Middle |
IndicatorPadding |
Indicator div padding. |
IFluentSpacing | null |
IndicatorTemplate |
Busy indicator template that receives a LoadingIndicatorContext derived from the current status. |
RenderFragment<LoadingIndicatorContext> | null |
IndicatorVerticalPlacement |
Indicator vertical position. Possible values: |
LoadingIndicatorPlacement | LoadingIndicatorPlacement.Middle |
Initializing |
Indicates whether component should display initializing or actual content. |
bool | false |
InitializingTemplate |
Loading state template. |
RenderFragment | null |
Inline |
Wrap inline content. |
bool | false |
Service |
Service used to control this instance. |
ILoadingIndicatorService | null |
SpinnerBackground |
Spinner background color. |
Background | "#c0c0c0" |
SpinnerColor |
Specifies the spinner color in a HEX format. |
Color | "#000000" |
SpinnerHeight |
Specifies the spinner HTML height, eg. "64px". |
string | "64px" |
SpinnerWidth |
Specifies the spinner HTML width, eg. "64px". |
string | |
Visible |
Indicates whether the loading indicator is visible. |
bool | false |
ZIndex |
Overlay screen z-index. |
int? | null |
Events
| Event | Description | Type |
|---|---|---|
InitializingChanged |
Notifies when Initializing state has changed. |
EventCallback<bool> |
VisibleChanged |
Notifies when Visible state has changed. |
EventCallback<bool> |
Methods
| Method | Description | Return | Parameters |
|---|---|---|---|
Hide |
Hides the loading indicator overlay. | Task | |
SetInitializing |
Sets the Initializing state and notifies subscribers. | Task | bool value |
SetStatus |
Updates the status payload for this indicator. | Task | string text, int? progress |
SetStatus |
Updates the status payload for this indicator. | Task | LoadingIndicatorStatus value |
Show |
Shows the loading indicator overlay. | Task |