Skip to content

TreeCollapsibleItem.updateCollapsed method

TreeCollapsibleItem › updateCollapsed

Unofficial

Update the tree item's cover element.

Signature:

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

Parameters:

ParameterTypeDescription
animate?booleanIf set to true, will animate on collapse.

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