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 TypeDefault
ChildContent

Specifies the content to be rendered inside this LoadingIndicator.

RenderFragmentnull
FadeIn

Fade in indicator into view.

boolfalse
FadeInDuration

Fade in duration in milliseconds. Default is 700 ms.

TimeSpanTimeSpan.FromMilliseconds( 700 )
FullScreen

Show busy indicator full screen.

boolfalse
IndicatorBackground

Busy screen color.

Background"rgba(255, 255, 255, 0.7)"
IndicatorHorizontalPlacement

Indicator horizontal position.

Possible values:Top, Bottom, Start, End, Middle

LoadingIndicatorPlacementLoadingIndicatorPlacement.Middle
IndicatorPadding

Indicator div padding.

IFluentSpacingnull
IndicatorTemplate

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

RenderFragment<LoadingIndicatorContext>null
IndicatorVerticalPlacement

Indicator vertical position.

Possible values:Top, Bottom, Start, End, Middle

LoadingIndicatorPlacementLoadingIndicatorPlacement.Middle
Initializing

Indicates whether component should display initializing or actual content.

boolfalse
InitializingTemplate

Loading state template.

RenderFragmentnull
Inline

Wrap inline content.

boolfalse
Service

Service used to control this instance.

ILoadingIndicatorServicenull
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.

boolfalse
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 DescriptionReturnParameters
Hide Hides the loading indicator overlay. Task
SetInitializing Sets the Initializing state and notifies subscribers. Taskbool value
SetStatus Updates the status payload for this indicator. Taskstring text, int? progress
SetStatus Updates the status payload for this indicator. TaskLoadingIndicatorStatus value
Show Shows the loading indicator overlay. Task
On this page