API Reference
Class
EmptyStateSettings
Settings sub-builder for TablerEmptyState.
Inheritance
- Object
- EmptyStateSettings
Methods
public EmptyStateSettings Action(Element action) #Returns:
EmptyStateSettingsAdds a custom action element (rendered inside .empty-action).
Parameters
- action HtmlForgeX.Element
public EmptyStateSettings ActionButton(String text, String href, Action<TablerButton> configure = null) #Returns:
EmptyStateSettingsConvenience: adds a primary action button.
Parameters
- text System.String
- href System.String
- configure System.Action{HtmlForgeX.TablerButton} = null
public TablerEmptyState End() #Returns:
TablerEmptyStateReturns control to the root empty-state builder.
public EmptyStateSettings Header(String text) #Returns:
EmptyStateSettingsSets a big header (e.g., "404").
Parameters
- text System.String
public EmptyStateSettings Illustration(Element illustration) #Returns:
EmptyStateSettingsSets the illustration content (rendered inside .empty-img).
Parameters
- illustration HtmlForgeX.Element
public EmptyStateSettings IllustrationImage(String url, Int32 height = 256, String alt = null) #Returns:
EmptyStateSettingsConvenience: sets an image illustration (img tag) with a fixed height.
Parameters
- url System.String
- height System.Int32 = 256
- alt System.String = null
public EmptyStateSettings Subtitle(String text) #Returns:
EmptyStateSettingsSets the subtitle / description.
Parameters
- text System.String
public EmptyStateSettings Surface(TablerSurfaceStyle style) #Returns:
EmptyStateSettingsApplies a shared surface treatment to the empty-state shell.
Parameters
- style HtmlForgeX.TablerSurfaceStyle
public EmptyStateSettings Title(String text) #Returns:
EmptyStateSettingsSets the main title.
Parameters
- text System.String