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