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

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

## volatile() function

Decorator: Marks a property getter as having volatile observable dependencies.

<b>Signature:</b>

```typescript
export declare function volatile(target: {}, name: string | Accessor, descriptor: PropertyDescriptor): PropertyDescriptor;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  target | {} | The target that the property is defined on. |
|  name | string \| [Accessor](./fast-element.accessor.md) | The property name. |
|  descriptor | PropertyDescriptor |  |

<b>Returns:</b>

PropertyDescriptor
