Earth Engine has introduced
noncommercial quota tiers to safeguard shared compute resources and ensure reliable performance for everyone. Noncommercial projects use the Community Tier by default, though you can change a project's tier at any time.
ui.DateSlider.setValue
Stay organized with collections
Save and categorize content based on your preferences.
Set the value of the slider.
Returns this slider.
| Usage | Returns | DateSlider.setValue(value, trigger) | ui.DateSlider |
| Argument | Type | Details | this: ui.dateslider | ui.DateSlider | The ui.DateSlider instance. |
value | Number|String | The value to set on the slider. |
trigger | Boolean, optional | Whether to trigger onChange callbacks when the value property changes. Defaults to true. |
[null,null,["Last updated 2023-10-06 UTC."],[],["The `DateSlider.setValue` method sets the slider's value, accepting either a Number or String. It optionally takes a boolean `trigger` argument (defaulting to true) to control whether `onChange` callbacks are fired upon value change. The method returns the `ui.DateSlider` instance, allowing for method chaining. This action modifies the slider's state and may notify listeners depending on the `trigger` value.\n"]]