HtmlForgeX

API Reference

Class

TablerPlaceholder

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Single placeholder block used for skeleton loading states.

Inheritance

Constructors

Methods

public TablerPlaceholder Background(TablerColor color) #
Returns: TablerPlaceholder

Set placeholder background color using Tabler/Bootstrap background utility.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerPlaceholder MarginBottom(TablerSpacing spacing) #
Returns: TablerPlaceholder

Add a bottom margin using Bootstrap spacing scale.

Parameters

spacing HtmlForgeX.TablerSpacing requiredposition: 0
RegisterLibraries() #
public TablerPlaceholder RenderAs(String tagName) #
Returns: TablerPlaceholder
EditorBrowsable(2)

Set the underlying HTML tag name (advanced).

Parameters

tagName System.String requiredposition: 0
public TablerPlaceholder Size(TablerPlaceholderSize size) #
Returns: TablerPlaceholder

Set placeholder size variant (e.g., xs).

Parameters

size HtmlForgeX.TablerPlaceholderSize requiredposition: 0
public TablerPlaceholder Surface(TablerSurfaceStyle style) #
Returns: TablerPlaceholder

Applies a shared surface treatment to the placeholder block.

Parameters

style HtmlForgeX.TablerSurfaceStyle requiredposition: 0
public override String ToString() #
Returns: String
public TablerPlaceholder Width(Int32 columns) #
Returns: TablerPlaceholder

Set width using Bootstrap columns (1..12).

Parameters

columns System.Int32 requiredposition: 0