-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(date-time-editor): implementation #6271
- Loading branch information
1 parent
ff0f4d7
commit 889ace2
Showing
16 changed files
with
1,210 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
projects/igniteui-angular/src/lib/directives/date-time-editor/date-time-editor.common.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export interface IgxDateTimeEditorEventArgs { | ||
oldValue: Date | string; | ||
newValue: Date | string; | ||
} | ||
|
||
export enum DatePart { | ||
Date = 'date', | ||
Month = 'month', | ||
Year = 'year', | ||
Hours = 'hours', | ||
Minutes = 'minutes', | ||
Seconds = 'seconds', | ||
AmPm = 'ampm' | ||
} | ||
|
||
export interface DatePartInfo { | ||
type: DatePart; | ||
start: number; | ||
end: number; | ||
format: string; | ||
} |
Oops, something went wrong.