Class MudSkeleton
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
A temporary placeholder for content while data is loaded.
public class MudSkeleton : MudComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IMudStateHasChanged
- Inheritance
-
MudSkeleton
- Implements
- Inherited Members
- Extension Methods
Constructors
MudSkeleton()
public MudSkeleton()
Properties
Animation
The type of animation to display.
[Parameter]
[Category("Appearance")]
public Animation Animation { get; set; }
Property Value
Remarks
Defaults to Pulse.
Classname
protected string Classname { get; }
Property Value
Height
The height of this skeleton.
[Parameter]
[Category("Appearance")]
public string? Height { get; set; }
Property Value
Remarks
Defaults to null
. Values can be in pixels (e.g. "300px"
) or percentages (e.g. "30%"
).
SkeletonType
The shape of this skeleton.
[Parameter]
[Category("Appearance")]
public SkeletonType SkeletonType { get; set; }
Property Value
Remarks
Defaults to Text.
Stylename
protected string Stylename { get; }
Property Value
Width
The width of this skeleton.
[Parameter]
[Category("Appearance")]
public string? Width { get; set; }
Property Value
Remarks
Defaults to null
. Values can be in pixels (e.g. "300px"
) or percentages (e.g. "30%"
).
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder