---
id: fast-element.enablearrayobservation
title: enableArrayObservation() function
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [enableArrayObservation](./fast-element.enablearrayobservation.md)

## enableArrayObservation() function

Enables the array observation mechanism.

<b>Signature:</b>

```typescript
export declare function enableArrayObservation(): void;
```
<b>Returns:</b>

void

## Remarks

Array observation is enabled automatically when using the [RepeatDirective](./fast-element.repeatdirective.md)<!-- -->, so calling this API manually is not typically necessary.
