HtmlForgeX

API Reference

Class

TablerShareLinkCardSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Settings sub-builder for TablerShareLinkCard.

Inheritance

  • Object
  • TablerShareLinkCardSettings

Methods

public TablerShareLinkCardSettings Actions(Action<TablerCardActionBuilder> configure) #
Returns: TablerShareLinkCardSettings

Adds header actions (buttons/badges).

Parameters

configure System.Action{HtmlForgeX.TablerCardActionBuilder} requiredposition: 0
public TablerShareLinkCardSettings Badge(String text, TablerBadgeColor color = Success, TablerBadgeVisualStyle style = Light, TablerBadgeSize size = Default, Boolean pill = true, String href = null) #
Returns: TablerShareLinkCardSettings

Adds a badge to the header actions area.

Parameters

text System.String requiredposition: 0
color HtmlForgeX.TablerBadgeColor = Success optionalposition: 1
style HtmlForgeX.TablerBadgeVisualStyle = Light optionalposition: 2
size HtmlForgeX.TablerBadgeSize = Default optionalposition: 3
pill System.Boolean = true optionalposition: 4
href System.String = null optionalposition: 5
public TablerShareLinkCardSettings Card(Action<CardSettings> configure) #
Returns: TablerShareLinkCardSettings

Configures the underlying TablerCard.

Parameters

configure System.Action{HtmlForgeX.CardSettings} requiredposition: 0
public TablerShareLinkCardSettings Copy(Action<CopyInputSettings> configure) #
Returns: TablerShareLinkCardSettings

Configures the underlying TablerCopyInput.

Parameters

configure System.Action{HtmlForgeX.CopyInputSettings} requiredposition: 0
public TablerShareLinkCard End() #
Returns: TablerShareLinkCard

Returns the root TablerShareLinkCard.

public TablerShareLinkCardSettings ExpiresAt(DateTimeOffset expiresAt, TablerBadgeColor color = Warning, String badgeText = null) #
Returns: TablerShareLinkCardSettings

Adds an “Expires …” badge to the header actions area.

Parameters

expiresAt System.DateTimeOffset requiredposition: 0
color HtmlForgeX.TablerBadgeColor = Warning optionalposition: 1
badgeText System.String = null optionalposition: 2