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

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

## NumberField.autofocus property

Indicates that this element should get focus after the page finishes loading. See [autofocus HTML attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus) for more information.

<b>Signature:</b>

```typescript
autofocus: boolean;
```

## Remarks

HTML Attribute: autofocus
