Skip to content

TreeCollapsibleItem.updateCollapsed method

TreeCollapsibleItem › updateCollapsed

Unofficial

Update the tree item's cover element.

Signature:

updateCollapsed(animate?: boolean | undefined): Promise<undefined>

Parameters:

Parameter Type Description
animate? boolean | undefined If set to true, will animate on collapse.

Returns: Promise<undefined>Resolves when the cover element has been updated.