HtmlForgeX

API Reference

Class

TablerCarousel

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Bootstrap/Tabler carousel component.

Inheritance

Constructors

Methods

public TablerCarouselSlide AddImage(String url, String alt = null, String captionTitle = null, String captionText = null) #
Returns: TablerCarouselSlide

Adds an image slide with optional caption.

Parameters

url System.String requiredposition: 0
alt System.String = null optionalposition: 1
captionTitle System.String = null optionalposition: 2
captionText System.String = null optionalposition: 3
public TablerCarouselSlide AddSlide(Action<TablerCarouselSlide> configure) #
Returns: TablerCarouselSlide

Adds a slide with a fluent slide builder.

Parameters

configure System.Action{HtmlForgeX.TablerCarouselSlide} requiredposition: 0
RegisterLibraries() #
public TablerCarousel Settings(Action<CarouselSettings> configure) #
Returns: TablerCarousel

Groups less-common options under a single fluent entry point to keep IntelliSense lean.

Parameters

configure System.Action{HtmlForgeX.CarouselSettings} requiredposition: 0
public override String ToString() #
Returns: String

Properties

public String CarouselId { get; } #

Gets the generated carousel id.