SetOptions
methodsChanges the initial TimePicker configuration.
Value Behavior
When setOptions is called, the value resolution follows a priority order:
- Explicit value in setOptions: If the
optionsparameter contains avalueproperty, this value takes precedence and updates the component's current value. - Initial value exists: If the
optionsparameter does not contain avalueproperty, and the component was initialized with avalue, the component reverts to the initial value, discarding any user-selected or programmatically set value. - No initial value: If the
optionsparameter does not contain avalueproperty, and the component was initialized without avalue, the component preserves the current value.
Parameters:optionsObject
The new configuration options.