Gets/sets whether the view should be rendered according to the locale and format, if any.
Emits an event when a selection is made in the view. Provides reference the date property in the component.
date
IgxCalendarViewDirective
Applies styles to the active item on view focus.
Gets/sets the selected date of the view. By default it's the current date.
let date = this.view.date; Copy
let date = this.view.date;
IgxYearsViewComponent
Gets the locale of the view. Default value is "en".
locale
"en"
let locale = this.view.locale; Copy
let locale = this.view.locale;
Sets the locale of the view. Expects a valid BCP 47 language tag. Default value is "en".
Gets the year format option of the years view.
let yearFormat = this.yearsView.yearFormat. Copy
let yearFormat = this.yearsView.yearFormat.
Sets the year format option of the years view.
<igx-years-view [yearFormat]="numeric"></igx-years-view> Copy
<igx-years-view [yearFormat]="numeric"></igx-years-view>
Gets/sets whether the view should be rendered according to the locale and format, if any.