Gets/Sets the format options of the IgxDatePickerComponent
.
Gets/Sets the cancel button's label.
Emitted after the calendar has closed.
Emitted when the calendar has started closing, cancelable.
Enables or disables the picker.
The format used to display the picker's value when it's not being edited.
Gets/Sets the number of month views displayed.
Gets/Sets the format views of the IgxDatePickerComponent
.
Gets/Sets a custom formatter function on the selected or passed date.
Gets/Sets the orientation of the IgxDatePickerComponent
header.
Gets/Sets whether the inactive dates will be hidden.
Gets/Sets the value of id
attribute.
The editor's input mask.
Can be dropdown
with editable input field or dialog
with readonly input field.
Emitted after the calendar has opened.
Emitted when the calendar has started opening, cancelable.
Gets/Sets the container used for the popup element.
Overlay settings used to display the pop-up element.
Sets the placeholder
of the picker's input.
Gets/Sets the resource strings for the picker's default toggle icon. By default it uses EN resources.
Show/hide week numbers
Delta values used to increment or decrement each editor date part on spin actions.
All values default to 1
.
Specify if the currently spun date segment should loop over.
Gets/Sets the default template editor's tabindex.
Gets/Sets the today button's label.
Emitted when the user types/spins invalid date in the date-picker editor.
Emitted when the picker's value changes.
Gets the picker's pop-up state.
Gets/Sets the disabled dates descriptors.
let disabledDates = this.datepicker.disabledDates;
this.datePicker.disabledDates = [ {type: DateRangeType.Weekends}, ...];
Gets the locale
of the date-picker.
If not set, defaults to applciation's locale..
Sets the locale
of the date-picker.
Expects a valid BCP 47 language tag.
The maximum value the picker will accept.
The minimum value the picker will accept.
Gets/Sets the special dates descriptors.
let specialDates = this.datepicker.specialDates;
this.datePicker.specialDates = [ {type: DateRangeType.Weekends}, ... ];
Determines how the picker's input will be styled.
Gets/Sets the selected date.
Gets the start day of the week. Can return a numeric or an enum representation of the week day. If not set, defaults to the first day of the week for the application locale.
Sets the start day of the week.
Can be assigned to a numeric value or to WEEKDAYS
enum value.
Decrement a specified DatePart
The optional DatePart to decrement. Defaults to Date.
The optional delta to decrement by. Overrides spinDelta
.
Increment a specified DatePart
.
The optional DatePart to increment. Defaults to Date.
The optional delta to increment by. Overrides spinDelta
.
Opens the picker's dropdown or dialog.
<igx-date-picker #picker></igx-date-picker>
<button type="button" igxButton (click)="picker.open()">Open Dialog</button>
Toggles the picker's dropdown or dialog
<igx-date-picker #picker></igx-date-picker>
<button type="button" igxButton (click)="picker.toggle()">Toggle Dialog</button>
Date Picker displays a popup calendar that lets users select a single date.
Igx Module
IgxDatePickerModule
Igx Theme
igx-calendar-theme, igx-icon-theme
Igx Group
Scheduling
Igx Keywords
datepicker, calendar, schedule, date
Example