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

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this LoadingIndicator.
FadeInfalsebool

Fade in indicator into view.
FadeInDurationTimeSpan.FromMilliseconds( 700 )TimeSpan

Fade in duration in milliseconds. Default is 700 ms.
FullScreenfalsebool

Show busy indicator full screen.
IndicatorBackground"rgba(255, 255, 255, 0.7)"Background

Busy screen color.
IndicatorHorizontalPlacementMiddleLoadingIndicatorPlacement

Indicator horizontal position.
Possible values:TopBottomStartEndMiddle
IndicatorPaddingnullIFluentSpacing

Indicator div padding.
IndicatorTemplatenullRenderFragment<LoadingIndicatorContext>

Busy indicator template that receives a LoadingIndicatorContext derived from the current status.
IndicatorVerticalPlacementMiddleLoadingIndicatorPlacement

Indicator vertical position.
Possible values:TopBottomStartEndMiddle
Initializingfalsebool

Indicates whether component should display initializing or actual content.
InitializingTemplatenullRenderFragment

Loading state template.
Inlinefalsebool

Wrap inline content.
ServicenullILoadingIndicatorService

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".
Visiblefalsebool

Indicates whether the loading indicator is visible.

Events

EventType
InitializingChangedEventCallback<bool>

Notifies when Initializing state has changed.
VisibleChangedEventCallback<bool>

Notifies when Visible state has changed.

Methods

MethodReturnParameters
HideTask—

Hides the loading indicator overlay.
SetInitializingTaskbool value

Sets the Initializing state and notifies subscribers.
SetStatusTaskstring text, int? progress

Updates the status payload for this indicator.
SetStatusTaskLoadingIndicatorStatus value

Updates the status payload for this indicator.
ShowTask—

Shows the loading indicator overlay.