DOM element of the underlying LayerItem, undefined if the toc has been disposed
or if the item is currently not being rendered.
Identifier of the Toc item.
Currently, this is the same as layerId, but that could be changed in the future.
true if list item is expanded.
Identifier of the layer that corresponds with the list item.
May be undefined if the item does not represent a layer.
Expands or collapses the list item.
Note: not all list items support this operation.
Optionaloptions: ExpandItemOptions
Represents an item in the toc.