Table of Contents

Class TwSkeletonTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for the skeleton loading placeholder component (TwSkeleton). Override any property to customize skeleton styles globally.

[ExcludeFromCodeCoverage]
public class TwSkeletonTheme
Inheritance
TwSkeletonTheme
Inherited Members

Constructors

TwSkeletonTheme()

public TwSkeletonTheme()

Properties

Base

Gets or sets the base classes shared by every placeholder block, including its background color and the overflow-hidden/relative positioning the Wave shimmer needs.

public required string Base { get; set; }

Property Value

string

Circle

Gets or sets the classes for a Circle placeholder.

public required string Circle { get; set; }

Property Value

string

MeasuringWrapper

Gets or sets the classes applied to the wrapper that holds a hidden copy of ChildContent while it is being measured.

public required string MeasuringWrapper { get; set; }

Property Value

string

Pulse

Gets or sets the classes applied for Pulse.

public required string Pulse { get; set; }

Property Value

string

Rectangle

Gets or sets the classes for a Rectangle placeholder.

public required string Rectangle { get; set; }

Property Value

string

Text

Gets or sets the classes for a Text placeholder (a single line).

public required string Text { get; set; }

Property Value

string

Wave

Gets or sets the classes applied for Wave. Pairs with the tw-skeleton-wave shimmer defined in input.css, which needs the Base class's relative/overflow-hidden to clip correctly.

public required string Wave { get; set; }

Property Value

string