minimize() for Lightning Experience

Minimizes a utility. This method is available for Lightning Web Components (LWC) only.

NameTypeDescription
utilityIdstringThe ID of the utility for which to minimize.

This component minimizes a utility.

To make your component available for use in a utility bar, specify the lightning__UtilityBar target in the component’s configuration file.

Returns a promise that resolves to true if successful. The promise is rejected on error.

See Also