File

forms/src/transformer.ts

Description

Describes an interface for converting from a Blueriq Field of data type T to an Angular FormControl with data of type R, and vice versa.

Index

Methods

Methods

toControl
toControl(value: T | null, context: ValueTransformerContext)

Called for synchronizing data from the Blueriq Field to Angular's FormControl.

Parameters :
Name Type Optional
value T | null No
context ValueTransformerContext No
Returns : R | null
toField
toField(value: R | null, context: ValueTransformerContext)

Called for synchronizing data from Angular's FormControl to Blueriq's Field.

Parameters :
Name Type Optional
value R | null No
context ValueTransformerContext No
Returns : T | null

result-matching ""

    No results matching ""