---
id: fast-element.fastelement.attributechangedcallback
title: FASTElement.attributeChangedCallback() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [FASTElement](./fast-element.fastelement.md) &gt; [attributeChangedCallback](./fast-element.fastelement.attributechangedcallback.md)

## FASTElement.attributeChangedCallback() method

The attribute changed callback for this FASTElement.

<b>Signature:</b>

```typescript
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  name | string | The name of the attribute that changed. |
|  oldValue | string | The previous value of the attribute. |
|  newValue | string | The new value of the attribute. |

<b>Returns:</b>

void

## Remarks

This method is invoked by the platform whenever an observed attribute of FASTElement has a value change.
