Constructors
Section titled "Constructors"IgxYearsViewComponent
new IgxYearsViewComponent(): IgxYearsViewComponent Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:193
Returns IgxYearsViewComponent
Properties
Section titled "Properties"el: ElementRef<any> Defined in projects/igniteui-angular/calendar/src/calendar/years-view/years-view.component.ts:36
formatView
Section titled "formatView"Inherited from: IgxCalendarViewDirective
Gets/sets whether the view should be rendered according to the locale and format, if any.
formatView: boolean Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:76
Inherited from: IgxCalendarViewDirective
role: string = 'grid' Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:58
selected
Section titled "selected"Inherited from: IgxCalendarViewDirective
Emits an event when a selection is made in the view.
Provides reference the date property in the component.
selected: EventEmitter<Date> Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:90
showActive
Section titled "showActive"Inherited from: IgxCalendarViewDirective
Applies styles to the active item on view focus.
showActive: boolean = false Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:82
tabIndex
Section titled "tabIndex"Inherited from: IgxCalendarViewDirective
tabIndex: number = 0 Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:62
Accessors
Section titled "Accessors"Inherited from: IgxCalendarViewDirective
get date(): Date Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:164
Returns Date
Gets/sets the selected date of the view. By default it's the current date.
let date = this.view.date; set date(value: Date): void Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:158
Parameters
- value:
Date
Returns void
locale
Section titled "locale"Inherited from: IgxCalendarViewDirective
Gets the locale of the view.
Default value is "en".
let locale = this.view.locale; get locale(): string Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:178
Returns string
Sets the locale of the view.
Expects a valid BCP 47 language tag.
Default value is "en".
set locale(value: string): void Defined in projects/igniteui-angular/calendar/src/calendar/common/calendar-view.directive.ts:189
Parameters
- value:
string
Returns void
standalone
Section titled "standalone"get standalone(): any Defined in projects/igniteui-angular/calendar/src/calendar/years-view/years-view.component.ts:58
set standalone(value: boolean): void Defined in projects/igniteui-angular/calendar/src/calendar/years-view/years-view.component.ts:58
Parameters
- value:
boolean
Returns void
yearFormat
Section titled "yearFormat"Gets the year format option of the years view.
let yearFormat = this.yearsView.yearFormat. get yearFormat(): any Defined in projects/igniteui-angular/calendar/src/calendar/years-view/years-view.component.ts:86
Returns any
Sets the year format option of the years view.
<igx-years-view [yearFormat]="numeric"></igx-years-view> set yearFormat(value: any): void Defined in projects/igniteui-angular/calendar/src/calendar/years-view/years-view.component.ts:98
Parameters
- value:
any
Returns void