Sets/gets the id
of the months view.
If not set, the id
will have value "igx-months-view-0"
.
<igx-months-view id="my-months-view"></igx-months-view>
let monthsViewId = this.monthsView.id;
Emits an event when a selection is made in the view.
Provides reference the date
property in the component.
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;
Gets the locale
of the view.
Default value is "en"
.
let locale = this.view.locale;
Sets the locale
of the view.
Expects a valid BCP 47 language tag.
Default value is "en"
.
Gets the month format option of the months view.
let monthFormat = this.monthsView.monthFormat.
Sets the month format option of the months view.
<igx-months-view> [monthFormat]="short'"</igx-months-view>
Gets/sets whether the view should be rendered according to the locale and format, if any.