mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-17 21:48:08 +01:00
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:
parent
fd95769478
commit
ec68f5e84a
12 changed files with 4971 additions and 4118 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue