igniteui-angular-sovn
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
38 lines (35 loc) • 1.13 kB
text/typescript
import { ElementRef } from '@angular/core';
import { DatePartDeltas } from '../directives/date-time-editor/public_api';
/** @hidden */
export const IGX_TIME_PICKER_COMPONENT = 'IgxTimePickerComponentToken';
/** @hidden */
export interface IgxTimePickerBase {
hourList: ElementRef;
locale: string;
minuteList: ElementRef;
secondsList: ElementRef;
ampmList: ElementRef;
inputFormat: string;
itemsDelta: Pick<DatePartDeltas, 'hours' | 'minutes' | 'seconds'>;
spinLoop: boolean;
selectedDate: Date;
maxDropdownValue: Date;
minDropdownValue: Date;
isTwelveHourFormat: boolean;
showHoursList: boolean;
showMinutesList: boolean;
showSecondsList: boolean;
showAmPmList: boolean;
minDateValue: Date;
maxDateValue: Date;
nextHour(delta: number);
nextMinute(delta: number);
nextSeconds(delta: number);
nextAmPm(delta: number);
close(): void;
cancelButtonClick(): void;
okButtonClick(): void;
onItemClick(item: string, dateType: string): void;
getPartValue(value: Date, type: string): string;
toISOString(value: Date): string;
}