Skip to components
DEVELOPER REFERENCE · v4.0.0

MaskedDraft API

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

MaskedDraft4 props0 callbacks0 methods

Props4

MaskedDraft props
NameTypeDescription
valueRequiredunknownValue to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
optionsRequired
MaskedInputOptionsInspect type
Available choices or control configuration, according to the declared type; expand it to inspect each field.
applyRequired
(value: string | 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.

Events and callbacks0

No component-specific events or callbacks.

Methods0

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