The value property updates after the user is done interacting with the slider while the immediateValue updates as the slider is sliding.
Sometimes one wants to bind go this immediate value. For example binding a paper-input value to a slider. In this case the binding should be 2-way: when the input changes, the slider should update. Unfortunately, if immediateValue is set the slider does not render correctly. The thumb and progress become disconnected.
We can either fix immediateValue so it can be set; or alternatively, perhaps rather than having 2 separate values, we could have an option to update value immediately.
The
value
property updates after the user is done interacting with the slider while theimmediateValue
updates as the slider is sliding.Sometimes one wants to bind go this immediate value. For example binding a
paper-input
value to a slider. In this case the binding should be 2-way: when the input changes, the slider should update. Unfortunately, ifimmediateValue
is set the slider does not render correctly. The thumb and progress become disconnected.We can either fix
immediateValue
so it can be set; or alternatively, perhaps rather than having 2 separate values, we could have an option to updatevalue
immediately.