packages/components/eui-date-range-selector/models/eui-time-range-picker.config.model.ts
Configuration interface for the time range picker component, defining start and end time values, display options, step increments, and change callbacks for time range selection.
Properties |
|
| callback |
callback:
|
Type : function
|
| Optional |
|
Callback function invoked when time values change, receiving all current time values as parameters |
| endHours |
endHours:
|
Type : number
|
| Optional |
|
End time hours value (0-23). Optional, defines the upper bound of the time range |
| endMins |
endMins:
|
Type : number
|
| Optional |
|
End time minutes value (0-59). Optional, defines the upper bound of the time range |
| endSecs |
endSecs:
|
Type : number
|
| Optional |
|
End time seconds value (0-59). Optional, only used when hasSeconds is true |
| hasSeconds |
hasSeconds:
|
Type : boolean
|
| Optional |
|
Controls whether seconds fields are displayed and editable. Default is false |
| hours |
hours:
|
Type : number
|
|
Start time hours value (0-23) |
| mins |
mins:
|
Type : number
|
|
Start time minutes value (0-59) |
| secs |
secs:
|
Type : number
|
| Optional |
|
Start time seconds value (0-59). Optional, only used when hasSeconds is true |
| stepHours |
stepHours:
|
Type : number
|
| Optional |
|
Increment step for hours spinner. Default is 1 |
| stepMinutes |
stepMinutes:
|
Type : number
|
| Optional |
|
Increment step for minutes spinner. Default is 1 |
| stepSeconds |
stepSeconds:
|
Type : number
|
| Optional |
|
Increment step for seconds spinner. Default is 1 |