HtmlForgeX

API Reference

Class

TablerLogo

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Renders a logo image using Tabler-friendly markup (no raw HTML required).

Inheritance

Constructors

Methods

public TablerLogo Alt(String altText) #
Returns: TablerLogo

Sets the logo alt text.

Parameters

altText System.String requiredposition: 0
public TablerLogo BrandContainer(Boolean enable = true) #
Returns: TablerLogo

Wraps the logo in a Tabler brand container.

Parameters

enable System.Boolean = true optionalposition: 0
public TablerLogo Href(String href) #
Returns: TablerLogo

Wraps the logo in a link.

Parameters

href System.String requiredposition: 0
RegisterLibraries() #
public TablerLogo Size(TablerLogoSize size) #
Returns: TablerLogo

Sets the logo size (maps to a height attribute).

Parameters

size HtmlForgeX.TablerLogoSize requiredposition: 0
public TablerLogo Source(String source) #
Returns: TablerLogo

Sets the logo source URL or data URI.

Parameters

source System.String requiredposition: 0
public TablerLogo Title(String title) #
Returns: TablerLogo

Sets the logo title attribute.

Parameters

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

Renders the logo image.