---
id: fast-foundation.menu.collapseexpandeditem
title: Menu.collapseExpandedItem() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Menu](./fast-foundation.menu.md) &gt; [collapseExpandedItem](./fast-foundation.menu.collapseexpandeditem.md)

## Menu.collapseExpandedItem() method

Collapses any expanded menu items.

<b>Signature:</b>

```typescript
collapseExpandedItem(): void;
```
<b>Returns:</b>

void
