ucap-lg-web/src/app/layouts/components/selector.layout.component.ts

31 lines
649 B
TypeScript
Raw Normal View History

2020-05-24 13:46:38 +09:00
import {
Component,
OnInit,
OnDestroy,
ChangeDetectionStrategy,
2020-07-11 21:09:04 +09:00
ChangeDetectorRef,
EventEmitter,
Output
2020-05-24 13:46:38 +09:00
} from '@angular/core';
@Component({
selector: 'app-layout-selector',
templateUrl: './selector.layout.component.html',
styleUrls: ['./selector.layout.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush
})
export class SelectorLayoutComponent implements OnInit, OnDestroy {
2020-07-11 21:09:04 +09:00
@Output()
closed = new EventEmitter<void>();
2020-05-24 13:46:38 +09:00
constructor(private changeDetectorRef: ChangeDetectorRef) {}
ngOnInit(): void {}
ngOnDestroy(): void {}
2020-07-11 21:09:04 +09:00
onClickClose(event: MouseEvent): void {
this.closed.emit();
}
2020-05-24 13:46:38 +09:00
}