NumberDraft API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
NumberDraft5 props0 callbacks0 methods
Props5
| Name | Type | Description |
|---|---|---|
valueRequired | unknown | Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted. |
optionsRequired |
| Available choices or control configuration, according to the declared type; expand it to inspect each field. |
applyRequired |
| Commits the editor draft through the application-provided handler. |
cancelRequired |
| Cancel action or handler for discarding the current draft; false hides an action descriptor. |
initialSelectionOptional | "all" | "end" | undefined | Printable-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.