You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is provided in other components such as the slider:
Note: Although the value attribute is used to set a slider's initial value, it should not be used to modify the value programmatically; instead, use the MDL change() method. For example, assuming that slider1 is a slider object and newvalue is a variable containing the desired value, do not use slider1.value = newvalue; instead, use slider1.MaterialSlider.change(newvalue)
We are overhauling the JS API in V2 and the V1 site/docs are in a maintenance/critical-only support mode from the core team. If someone from the community would like to contribute a patch for adding this, mdl-1.x is open for PRs.
It is provided in other components such as the slider:
But totally omitted in the switch component.
Although I would also add another one as in the slider for a more easier coding based on a variable:
The text was updated successfully, but these errors were encountered: