HtmlForgeX

API Reference

Class

TablerPageSwitcher

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Handles page switching functionality for Tabler layouts with typed configuration

Inheritance

Constructors

public TablerPageSwitcher() #

Initializes a new instance of the TablerPageSwitcher class

Methods

public TablerPageSwitcher DefaultPage(String pageId) #
Returns: TablerPageSwitcher

Set the default visible page

Parameters

pageId System.String requiredposition: 0
public TablerPageSwitcher NavLinkSelector(String selector) #
Returns: TablerPageSwitcher

Configure navigation link selector

Parameters

selector System.String requiredposition: 0
public TablerPageSwitcher PageSelector(String selector) #
Returns: TablerPageSwitcher

Configure page selector for switching

Parameters

selector System.String requiredposition: 0
RegisterLibraries() #

Registers the required libraries for this component

public TablerPageSwitcher RegisterPage(String pageId) #
Returns: TablerPageSwitcher

Register a page ID for switching

Parameters

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

Renders the page switcher script to HTML string

Returns

HTML script element with page switching functionality

public TablerPageSwitcher UpdateNavigation(Boolean update = true) #
Returns: TablerPageSwitcher

Configure navigation update behavior

Parameters

update System.Boolean = true optionalposition: 0