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

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

## ValueConverter interface

Represents objects that can convert values to and from view or model representations.

<b>Signature:</b>

```typescript
export interface ValueConverter 
```

## Methods

|  Method | Description |
|  --- | --- |
|  [fromView(value)](./fast-element.valueconverter.fromview.md) | Converts a value from its representation in the view, to a representation for the model. |
|  [toView(value)](./fast-element.valueconverter.toview.md) | Converts a value from its representation in the model, to a representation for the view. |
