List
List component for Universal Dashboard.
Last updated
List component for Universal Dashboard.
Last updated
Lists are continuous, vertical indexes of text or images.
Lists are a continuous group of text or images. They are composed of items containing primary and supplemental actions, which are represented by icons and text.
You can define an action to take when an item is clicked by using the -OnClick
parameter of New-UDListItem
.
New-UDList
Name | Type | Description | Required |
Id | String | The ID of the component. It defaults to a random GUID. | false |
Children | ScriptBlock | The items in the list. | false |
SubHeader | String | Text to show within the sub header. | false |
New-UDListItem
Name | Type | Description | Required |
Id | String | The ID of the component. It defaults to a random GUID. | false |
AvatarType | String | The type of avatar to show within the list item. | false |
OnClick | Endpoint | A script block to execute when the list item is clicked. | false |
Label | String | The label to show within the list item. | false |
Children | ScriptBlock | Nested list items to show underneath this list item. | false |
SubTitle | String | The subtitle to show within the list item. | false |
Icon | Object | The icon to show within the list item. | false |
Source | String | Parameter description | false |
SecondaryAction | ScriptBlock | The secondary action to issue with this list item. | false |