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

New-UDRating

Ratings provide insight regarding others' opinions and experiences, and can allow the user to submit a rating of their own.

Synopsis

Ratings provide insight regarding others' opinions and experiences, and can allow the user to submit a rating of their own.

Syntax

New-UDRating [[-Id] <String>] [[-DefaultValue] <Double>] [-Disabled] [[-EmptyLabelText] <String>] [-HighlightSelectedOnly] [[-Max] <Double>] [[-OnChange] <Endpoint>] [[-Precision] <Double>] [[-Size] <String>] [[-Value] <Double>] [<CommonParameters>]

Description

Ratings provide insight regarding others' opinions and experiences, and can allow the user to submit a rating of their own.

Parameters

-Id

An ID for this component. If not specified, a random GUID will be used.

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

-DefaultValue

The default value for this rating.

-EmptyLabelText

The text to show when the rating is empty.

-Max

The maximum value for this rating.

-OnChange

A script block to call when the rating is changed. The $EventData variable will be the new value.

-Precision

The precision of the rating. Defaults to 1.

-Size

The size of the rating. Can be small, medium, or large.

-Value

The current value of the rating.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?