---
id: fast-foundation.textarea.autofocus
title: TextArea.autofocus property
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [TextArea](./fast-foundation.textarea.md) &gt; [autofocus](./fast-foundation.textarea.autofocus.md)

## TextArea.autofocus property

Indicates that this element should get focus after the page finishes loading.

<b>Signature:</b>

```typescript
autofocus: boolean;
```

## Remarks

HTML Attribute: autofocus
