You are viewing documentation for a previous version of FAST. The latest version is 3.x. View latest docs →

@microsoft/fast-element > ValueConverter

ValueConverter interface

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

Signature:

export interface ValueConverter 

Methods

Method

Description

fromView(value)

Converts a value from its representation in the view, to a representation for the model.

toView(value)

Converts a value from its representation in the model, to a representation for the view.