HtmlForgeX

API Reference

Command

New-HtmlXAccordion

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerAccordion

Creates a Tabler accordion container and adds it to the current DSL context.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

New-HtmlXAccordion -AlwaysOpen {
        

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-HtmlXAccordion [-Content <ScriptBlock>] [-AlwaysOpen] [-Behavior <SingleOpenClosable|PersistState|Searchable>] [-Color <Blue>] [-Type <Default|Flush|Tabs|Inverted|Plus>] [<CommonParameters>]
#

Parameters

Content ScriptBlock optionalposition: 0pipeline: false
Scriptblock that emits accordion items.
AlwaysOpen SwitchParameter optionalposition: namedpipeline: false
Allows multiple accordion items to stay open.
Behavior AccordionBehavior optionalposition: namedpipeline: falsevalues: 3
Accordion behavior flags (single open, persist state, etc.). Possible values: None, SingleOpenClosable, PersistState, Searchable
Possible values: SingleOpenClosable, PersistState, Searchable
Color TablerColor optionalposition: namedpipeline: falsevalues: 62
Optional accordion accent color. Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Type TablerAccordionType optionalposition: namedpipeline: falsevalues: 5
Optional accordion visual style. Possible values: Default, Flush, Tabs, Inverted, Plus
Possible values: Default, Flush, Tabs, Inverted, Plus

Outputs

HtmlForgeX.TablerAccordion