ngx-bootstrap
Version:
Angular Bootstrap
49 lines (48 loc) • 1.9 kB
TypeScript
import * as i0 from "@angular/core";
/** Provides default configuration values for timepicker */
export declare class TimepickerConfig {
/** hours change step */
hourStep: number;
/** minutes change step */
minuteStep: number;
/** seconds changes step */
secondsStep: number;
/** if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM */
showMeridian: boolean;
/** meridian labels based on locale */
meridians: string[];
/** if true hours and minutes fields will be readonly */
readonlyInput: boolean;
/** if true hours and minutes fields will be disabled */
disabled: boolean;
/** if true emptyTime is not marked as invalid */
allowEmptyTime: boolean;
/** if true scroll inside hours and minutes inputs will change time */
mousewheel: boolean;
/** if true the values of hours and minutes can be changed using the up/down arrow keys on the keyboard */
arrowkeys: boolean;
/** if true spinner arrows above and below the inputs will be shown */
showSpinners: boolean;
/** show seconds in timepicker */
showSeconds: boolean;
/** show minutes in timepicker */
showMinutes: boolean;
/** minimum time user can select */
min?: Date;
/** maximum time user can select */
max?: Date;
/** placeholder for hours field in timepicker */
hoursPlaceholder: string;
/** placeholder for minutes field in timepicker */
minutesPlaceholder: string;
/** placeholder for seconds field in timepicker */
secondsPlaceholder: string;
/** hours aria label */
ariaLabelHours: string;
/** minutes aria label */
ariaLabelMinutes: string;
/** seconds aria label */
ariaLabelSeconds: string;
static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerConfig, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TimepickerConfig>;
}