mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
15 lines
438 B
TypeScript
15 lines
438 B
TypeScript
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'],
|
|
})
|
|
export class DayCellComponent extends NbCalendarDayCellComponent<Date> {
|
|
@HostBinding('class') classes = 'day-cell';
|
|
|
|
@HostListener('click') onClick() {
|
|
// do work
|
|
}
|
|
}
|