mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
feat(datetime): add calendar picker (#23416)
resolves #19423 BREAKING CHANGE: The `ion-datetime` component has been revamped to use a new calendar style. As a result, some APIs have been removed. See https://github.com/ionic-team/ionic-framework/blob/master/BREAKING.md for more details.
This commit is contained in:
@ -1,7 +1,18 @@
|
||||
import { PickerOptions } from '../../interface';
|
||||
|
||||
export type DatetimeOptions = Partial<PickerOptions>;
|
||||
export interface DatetimeOptions {
|
||||
tmp?: string;
|
||||
}
|
||||
|
||||
export interface DatetimeChangeEventDetail {
|
||||
value: string | undefined | null;
|
||||
value?: string | null;
|
||||
}
|
||||
|
||||
export interface DatetimeParts {
|
||||
month: number;
|
||||
day: number | null;
|
||||
year: number;
|
||||
dayOfWeek?: number | null;
|
||||
hour?: number;
|
||||
minute?: number;
|
||||
ampm?: 'am' | 'pm';
|
||||
tzOffset?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user