Why the widget is refreshed with delay

Problem:

When the following code is used:

widget.getByName("Slider").setValue(value);

the element is refreshed with some delay (about 5seconds)

Reason:

The element is refreshed with the use of animation by default, but if the bindings based on boundary values (for example, 0 and 1) are used the independent elements will refresh after the animation is over.

Solution:

It is necessary to transfer false as a second parameter to the setValue function, it will make the widget change values without animation:

widget.getByName("Slider").setValue(value, false);

Add Feedback