Skip to content

Commit

Permalink
feat(calendar): dayViews just be public #4282
Browse files Browse the repository at this point in the history
  • Loading branch information
hanastasov committed Aug 20, 2019
1 parent 727d3ac commit 083d7ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ export class IgxCalendarComponent extends IgxMonthPickerBase implements AfterVie
/**
*@hidden
*/
private dayViews: Array<IMonthView> = [this.defaultDayView];
public dayViews: Array<IMonthView> = [this.defaultDayView];

public ngAfterViewInit() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ export class IgxDaysViewComponent extends IgxCalendarBase implements DoCheck {
* @hidden
*/
private getFirstMonthView(): IgxDaysViewComponent {
let monthView = this.prevMonthView;
let monthView = this;
while (monthView.prevMonthView) {
monthView = monthView.prevMonthView;
}
Expand Down

0 comments on commit 083d7ea

Please sign in to comment.