TreeItem Lightning Web Component ReadMe (Managed Package)

For the managed package runtime, this page contains a TreeItem LWC ReadMe for each Vlocity release.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Vlocity Insurance and Health Winter '20 and Vlocity CME Spring '20

The TreeItem Lightning Web Component defines the individual items of a tree component.

Available c-tree-item Attributes

Attribute

Value

Type

Required

Description

theme

slds, nds (Default: slds)

string

 

Sets the theme for the tree component.

items

 

array

 

The items attribute is an array of key-value pairs that describes the treeItem, which can have nested trees inside itself.

index

1,2...

number

 

A unique number to identify the tree node.

    <c-tree-item icon-url={iconUrl} items={items} index="0"></c-tree-item>