---
id: fast-element.view.dispose
title: View.dispose() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [View](./fast-element.view.md) &gt; [dispose](./fast-element.view.dispose.md)

## View.dispose() method

Removes the view and unbinds its behaviors, disposing of DOM nodes afterward. Once a view has been disposed, it cannot be inserted or bound again.

<b>Signature:</b>

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

void
