- bindToValue(__namedParameters): PropertyDecorator
Parameters
__namedParameters: {
invProcessVal?: ((val) => any);
key?: ValOrFunc<string | symbol>;
obj?: any;
onChange?: string | ((...args) => any);
processVal?: ((newVal) => any);
}
Optional
invProcessVal?: ((val) => any)
Optional
key?: ValOrFunc<string | symbol>
Optional
obj?: any
Optional
onChange?: string | ((...args) => any)
Optional
processVal?: ((newVal) => any)
Returns PropertyDecorator
Binds a property to a value in an object. If the object is a string, it is used as a property name in
this
.