New-UDElement
Creates a new React element.
SYNOPSIS
SYNTAX
New-UDElement [-Tag <String>] [-Attributes <Hashtable>] [-Content <ScriptBlock>] [-ClassName <String>]
[-Endpoint <Endpoint>] [-ArgumentList <Object[]>] [-AutoRefresh] [-RefreshInterval <Int32>] [-Id <String>]
[<CommonParameters>]DESCRIPTION
EXAMPLES
Example 1
New-UDElement -Tag 'div' -Attributes @{
style = @{
color = "red"
}
} -Content {
"Hello!"
}Example 2
PARAMETERS
-ArgumentList
-Attributes
-AutoRefresh
-Content
-Endpoint
-Id
-RefreshInterval
-Tag
-ClassName
CommonParameters
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
Last updated
Was this helpful?