Skip to main content
Version: 1.x

@microsoft/fast-element > ValueConverter

ValueConverter interface

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

Signature:
export interface ValueConverter 

Methods

MethodDescription
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.