InputOptions
interface InputOptions<T, TransformT> {
alias?: string
transform?: (v: TransformT) => T
}
Properties
Property | Description |
---|---|
alias?: string
|
Optional public name for the input. By default, the class field name is used. |
transform?: (v: TransformT) => T
|
Optional transform that runs whenever a new value is bound. Can be used to transform the input value before the input is updated. The transform function can widen the type of the input. For example, consider
an input for |