watch

[ Function ]

Version 1.10

watch(
   callback: (
      data: ObjectResolver.IWatchResultObject<any>
   ) => void
): void;

Version 1.12

watch(
   callback: (
      data: ObjectResolver.IWatchResultObject<T>
   ) => void
): void;

Monitors the symbol expressions or the symbols described by the expressions in the object that was transferred to the constructor and returns an object on each change by replacing the symbol expressions with 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. IWatchResultObject<any>) => void

Version 1.12

(data: ObjectResolver. IWatchResultObject<T>) => void

Callback function

Return value

Type

Description

void

No return value

watch 1:

Available from version 1.10