New-UDHidden
Synopsis
Creates a new hidden element.
Syntax
New-UDHidden [-Id <String>] [-Down <String>] [-Children <ScriptBlock>] [<CommonParameters>]
New-UDHidden [-Id <String>] [-Up <String>] [-Children <ScriptBlock>] [<CommonParameters>]
New-UDHidden [-Id <String>] [-Only <String[]>] [-Children <ScriptBlock>] [<CommonParameters>]Description
Creates a new hidden element.
Parameters
-Id
The ID of this component. Defaults to a random GUID.
Required? false
Position? named
Default value [Guid]::NewGuid()
Accept pipeline input? false
Aliases
Accept wildcard characters? false-Down
Content will be hidden at the specified breakpoint.
-Up
Content will be hidden at the specified breakpoint.
-Only <String[]>
Content will be hidden at the specified breakpoint.
-Children
The content to be hidden.
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: Up
Content is hidden above the md breakpoint.
Example 2: Down
Content is hidden below the md breakpoint.
Example 3: Only
Content is hidden at the md breakpoint.
[Component("Hidden", "Ghost", "Creates a new hidden element.")]
Last updated
Was this helpful?