feat: update to Angular 13, move from tslint to eslint (#5957)

* feat: update to Angular 13

* feat: update to Angular 13, move from tslint to eslint
This commit is contained in:
Denis Strigo 2022-12-29 13:12:53 +03:00 committed by GitHub
parent fd95769478
commit ec68f5e84a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 4971 additions and 4118 deletions

View file

@ -1,11 +1,15 @@
import { Component } from '@angular/core';
import { Component, HostBinding, HostListener } from '@angular/core';
import { NbCalendarDayCellComponent } from '@nebular/theme';
@Component({
selector: 'ngx-day-cell',
templateUrl: 'day-cell.component.html',
styleUrls: ['day-cell.component.scss'],
host: { '(click)': 'onClick()', 'class': 'day-cell' },
})
export class DayCellComponent extends NbCalendarDayCellComponent<Date> {
@HostBinding('class') classes = 'day-cell';
@HostListener('click') onClick() {
// do work
}
}