For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDExpansionPanel

Synopsis

Creates an expansion panel.

Syntax

New-UDExpansionPanel [[-Id] <String>] [[-Title] <String>] [[-Icon] <Object>] [[-Children] <ScriptBlock>] [-Active] [[-ClassName] <String>] [<CommonParameters>]

Description

Creates an expansion panel. An expansion panel can hide content that isn't necessary to view when a page is loaded.

Parameters

-Id

The ID of the component. It defaults to a random GUID.

Required?                    false
Position?                    1
Default value                ([Guid]::NewGuid())
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-Title

The title show within the header of the expansion panel.

-Icon

An icon to show within the header of the expansion panel.

-Children

Children components to put within the expansion panel.

-Active

Whether the expansion panel is currently active (open).

-ClassName

Common parameters

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Outputs

Examples

Example 1

Creates an expansion panel with some content.

Last updated

Was this helpful?