/
maskitoTimeOptionsGenerator
to create a mask for time input. Use maskitoParseTime
to get milliseconds from masked string.
Use maskitoStringifyTime
to get the masked string from milliseconds.
Use mode
property to set time format. See the full list of available mode on API page of the documentation.
mode
ending with AA
is 12-hour time format with meridiem part. Property step
allows you to increment/decrement time segments by pressing ArrowUp
/ ArrowDown
.
Use step === 0
(default value) to disable this feature.
Property timeSegmentMinValues
/ timeSegmentMaxValues
allows you to set min/max value for every time segment.
Time segments are units of the time which form time string. For example, HH:MM
consists of two time segments: hours and minutes.