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

New-UDSkeleton

Synopsis

Display a placeholder preview of your content before the data gets loaded to reduce load-time frustration.

Syntax

New-UDSkeleton [[-Id] <String>] [[-Variant] <String>] [[-Height] <Int32>] [[-Width] <Int32>] [[-Animation] <String>] [[-ClassName] <String>] [<CommonParameters>]

Description

Creates a loading skeleton

Parameters

-Id

The ID of this component.

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

-Variant

The type of skeleton to display. Valid values are "text", "rect", "circle"

-Height

The static height of the skeleton.

-Width

The static width of the skeleton.

-Animation

The type of animation to use for the skeleton. Valid values are: "wave", "disabled", "pulsate"

-ClassName

A CSS class to apply to the skeleton.

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: Text skeleton

Creates a new text skeleton with a wave animation.

Example 2: Rect skeleton

Creates a new rect skeleton with a width of 210 and a height of 118.

Example 3: Circle skeleton

Creates a new circle skeleton with a width of 40 and a height of 40.

Example 4: Disabled animation

Creates a new skeleton with a disabled animation.

Last updated

Was this helpful?