HtmlForgeX

API Reference

Class

TablerLightboxGallery

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Tabler-style Lightbox / Gallery grid powered by FsLightbox. Renders a responsive thumbnail grid where each item opens in an overlay.

Inheritance

Constructors

public TablerLightboxGallery() #

Methods

public TablerLightboxItem AddImage(String href, String thumbnailUrl = null, String alt = null, Action<TablerLightboxItem> configure = null) #
Returns: TablerLightboxItem

Adds an image item to this gallery (href points to the original image).

Parameters

href System.String requiredposition: 0
thumbnailUrl System.String = null optionalposition: 1
alt System.String = null optionalposition: 2
configure System.Action{HtmlForgeX.TablerLightboxItem} = null optionalposition: 3
RegisterLibraries() #
public TablerLightboxGallery Settings(Action<LightboxGallerySettings> configure) #
Returns: TablerLightboxGallery

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

Parameters

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