resolve
[ Function ]
Version 1.10
resolve (
callback?: (
data: TcHmi.Symbol.ObjectResolver.IResultObject<any>
) => void
): void;
Version 1.12
resolve (
callback?: (
data: TcHmi.Symbol.ObjectResolver.IResultObject<T>
) => void
): void;
Resolves the symbol expressions once in the object that was transferred to the constructor, replaces the symbol expressions with the corresponding return values and returns an object with the symbol expressions replaced by the corresponding return values.
An example how the ObjectResolver can be used for an attribute can be found in the control description.
Parameter
Name | Type | Description |
---|---|---|
callback | Version 1.10 (data: ObjectResolver.IResultObject<any>) => void Version 1.12 (data: ObjectResolver.IResultObject<T>) => void | Callback function |
Return value
Type | Description |
---|---|
void | No return value |
Available from version 1.10 |