Skip to components
DEVELOPER REFERENCE · v4.0.0

TemporalDraft API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

TemporalDraft5 props0 callbacks0 methods

Props5

TemporalDraft props
NameTypeDescription
clearableOptionalboolean | undefinedShows a clear action when a value can be removed.
valueRequired
TemporalControlValueInspect type
Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
optionsRequired
TemporalPickerOptionsInspect type
Available choices or control configuration, according to the declared type; expand it to inspect each field.
applyRequired
(value: TemporalControlValue) => void | stringInspect type
Commits the editor draft through the application-provided handler.
cancelRequired
() => voidInspect type
Cancel action or handler for discarding the current draft; false hides an action descriptor.

Events and callbacks0

No component-specific events or callbacks.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.