HtmlForgeX

API Reference

Class

TablerDashboardSurfaceModelPreview

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Interactive preview for choosing a dashboard spacing and shell model.

Inheritance

  • Element
  • TablerDashboardSurfaceModelPreview

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

public TablerDashboardSurfaceModelPreview() #

Methods

public TablerDashboardSurfaceModelPreview ActiveModel(TablerDashboardSurfaceModel model) #
Returns: TablerDashboardSurfaceModelPreview

Sets the initially selected surface model.

Parameters

model HtmlForgeX.TablerDashboardSurfaceModel requiredposition: 0
public TablerDashboardSurfaceModelPreview AddMetric(String label, String value, String change, TablerColor color, TablerIconType icon) #
Returns: TablerDashboardSurfaceModelPreview

Adds a metric preview item. Default metrics are used when none are supplied.

Parameters

label System.String requiredposition: 0
value System.String requiredposition: 1
change System.String requiredposition: 2
color HtmlForgeX.TablerColor requiredposition: 3
icon HtmlForgeX.TablerIconType requiredposition: 4
public TablerDashboardSurfaceModelPreview AddQueueItem(String title, String note, TablerColor color) #
Returns: TablerDashboardSurfaceModelPreview

Adds a queue preview item. Default queue items are used when none are supplied.

Parameters

title System.String requiredposition: 0
note System.String requiredposition: 1
color HtmlForgeX.TablerColor requiredposition: 2
public TablerDashboardSurfaceModelPreview Eyebrow(String eyebrow) #
Returns: TablerDashboardSurfaceModelPreview

Sets the small label above the preview title.

Parameters

eyebrow System.String requiredposition: 0
RegisterLibraries() #
public TablerDashboardSurfaceModelPreview Settings(Action<TablerDashboardSurfaceModelPreviewSettings> configure) #
Returns: TablerDashboardSurfaceModelPreview

Groups less-common copy options under a smaller fluent surface.

Parameters

configure System.Action{HtmlForgeX.TablerDashboardSurfaceModelPreviewSettings} requiredposition: 0
public TablerDashboardSurfaceModelPreview Subtitle(String subtitle) #
Returns: TablerDashboardSurfaceModelPreview

Sets the supporting preview copy.

Parameters

subtitle System.String requiredposition: 0
public TablerDashboardSurfaceModelPreview Title(String title) #
Returns: TablerDashboardSurfaceModelPreview

Sets the preview title.

Parameters

title System.String requiredposition: 0
public override String ToString() #
Returns: String