ui.DateSlider.setValue

Set the value of the slider.

Returns this slider.

UsageReturns
DateSlider.setValue(value, trigger)ui.DateSlider
ArgumentTypeDetails
this: ui.datesliderui.DateSlider

The ui.DateSlider instance.

valueNumber|String

The value to set on the slider.

triggerBoolean, optional

Whether to trigger onChange callbacks when the value property changes. Defaults to true.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!