HtmlForgeX

API Reference

Command

New-HtmlXTableButtonToggleView

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.DslOptions.Tables.TableButtonToggleViewOption

Creates a view toggle button (table vs. responsive view).

Remarks

Use inside New-HtmlXTable { }.

Examples

Imported script example

New-HtmlXTableButtonToggleView -Text "View"
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HtmlXTableButtonToggleView [-DefaultMode <Responsive|ScrollX>] [-Persist <bool>] [-Text <string>] [<CommonParameters>]
#

Parameters

DefaultMode ToggleViewMode optionalposition: namedpipeline: falsevalues: 2
Default view to show when toggling. Possible values: Responsive, ScrollX
Possible values: Responsive, ScrollX
Persist bool optionalposition: namedpipeline: false
Whether the chosen view is persisted between sessions.
Text string optionalposition: namedpipeline: false
Button label text.

Outputs

HtmlForgeX.DslOptions.Tables.TableButtonToggleViewOption