mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
28 lines
664 B
TypeScript
28 lines
664 B
TypeScript
export interface DatetimeOptions {
|
|
tmp?: string;
|
|
}
|
|
|
|
export interface DatetimeChangeEventDetail {
|
|
value?: string | string[] | null;
|
|
}
|
|
|
|
export interface DatetimeCustomEvent extends CustomEvent {
|
|
detail: DatetimeChangeEventDetail;
|
|
target: HTMLIonDatetimeElement;
|
|
}
|
|
|
|
export interface DatetimeParts {
|
|
month: number;
|
|
day: number | null;
|
|
year: number;
|
|
dayOfWeek?: number | null;
|
|
hour?: number;
|
|
minute?: number;
|
|
ampm?: 'am' | 'pm';
|
|
tzOffset?: number;
|
|
}
|
|
|
|
export type DatetimePresentation = 'date-time' | 'time-date' | 'date' | 'time' | 'month' | 'year' | 'month-year';
|
|
|
|
export type TitleSelectedDatesFormatter = (selectedDates: string[]) => string;
|