Skip to components
DEVELOPER REFERENCE · v4.0.0

NumberDraft API

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

NumberDraft5 props0 callbacks0 methods

Props5

NumberDraft props
NameTypeDescription
valueRequiredunknownValue to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
optionsRequired
NumberInputOptionsInspect type
Available choices or control configuration, according to the declared type; expand it to inspect each field.
applyRequired
(value: number | null) => voidInspect 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.
initialSelectionOptional"all" | "end" | undefinedPrintable-key editors keep the initiating character and continue at its end.

Events and callbacks0

No component-specific events or callbacks.

Methods0

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