---
id: fast-foundation.disclosure.toggle
title: Disclosure.toggle() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [Disclosure](./fast-foundation.disclosure.md) &gt; [toggle](./fast-foundation.disclosure.toggle.md)

## Disclosure.toggle() method

Toggle the current(expanded/collapsed) state.

<b>Signature:</b>

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

void
