Skip to content

TreeCollapsibleItem.updateCollapsed method

TreeCollapsibleItem › updateCollapsed

Unofficial

Update the tree item's cover element.

Signature:

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

Parameters:

ParameterTypeDescription
animate?boolean | undefinedIf set to true, will animate on collapse.

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