UseTimeInputOptions
Properties
Section titled “Properties”defaultValue?
Section titled “defaultValue?”optional defaultValue?: string | null;disabled?
Section titled “disabled?”optional disabled?: boolean;emitOutOfRange?
Section titled “emitOutOfRange?”optional emitOutOfRange?: boolean;hour12?
Section titled “hour12?”optional hour12?: boolean;optional id?: string;locale?
Section titled “locale?”optional locale?: string;optional max?: string;optional min?: string;minuteStep?
Section titled “minuteStep?”optional minuteStep?: number;onBlur?
Section titled “onBlur?”optional onBlur?: (event) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
event | FocusEvent<HTMLElement> |
Returns
Section titled “Returns”void
onChange?
Section titled “onChange?”optional onChange?: (value) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value | string | null |
Returns
Section titled “Returns”void
onFocus?
Section titled “onFocus?”optional onFocus?: (event) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
event | FocusEvent<HTMLElement> |
Returns
Section titled “Returns”void
onPartsChange?
Section titled “onPartsChange?”optional onPartsChange?: (parts) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
parts | TimeParts |
Returns
Section titled “Returns”void
onWarn?
Section titled “onWarn?”optional onWarn?: (warning) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
warning | TimeWarning |
Returns
Section titled “Returns”void
readOnly?
Section titled “readOnly?”optional readOnly?: boolean;secondStep?
Section titled “secondStep?”optional secondStep?: number;showSeconds?
Section titled “showSeconds?”optional showSeconds?: boolean;value?
Section titled “value?”optional value?: string | null;