---
id: fast-element.accessor
title: Accessor interface
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

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

## Accessor interface

Represents a getter/setter property accessor on an object.

<b>Signature:</b>

```typescript
export interface Accessor 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [name](./fast-element.accessor.name.md) | string | The name of the property. |

## Methods

|  Method | Description |
|  --- | --- |
|  [getValue(source)](./fast-element.accessor.getvalue.md) | Gets the value of the property on the source object. |
|  [setValue(source, value)](./fast-element.accessor.setvalue.md) | Sets the value of the property on the source object. |
