Skip to content
Dzmitry Hutaryan edited this page Jul 2, 2023 · 5 revisions

MatTimepicker

Name Default Description
@Input()
color: ThemePalette
primary Color palette to use on the timepicker
@Input()
disabled: boolean
- Whether the timepicker pop-up should be disabled
@Input()
opened: boolean
false Whether the timepicker is open
@Input()
openAs: TimepickerOpenAs
popup Whether the timepicker mode which determines what the timepicker will be opened as
@Input()
mode: 'dial' | 'dialog'
dial Timepicker display mode
@Input()
format: '12h' | '24h'
12h Timepicker period format
@Input()
showToggleModeButton: boolean
true Show or hide toggle button between dial and input
@Input()
minuteInterval: number
1 Step for minutes
@Input()
xPosition: TimepickerDropdownPositionX
start Preferred position of the timepicker in the X axis
@Input()
yPosition: TimepickerDropdownPositionY
below Preferred position of the timepicker in the Y axis
@Output('closed')
closedStream: EventEmitter
- Emits when the timepicker has been closed
timepickerInput: C - The input element this timepicker is associated with
id: string - The id for the timepicker

MatTimepickerInput

Clone this wiki locally