ucap-lg-web/src/app/layouts/components/selector.layout.component.ts
Park Byung Eun 98ff58c39e 0710 sync
2020-07-11 21:09:04 +09:00

31 lines
649 B
TypeScript

import {
Component,
OnInit,
OnDestroy,
ChangeDetectionStrategy,
ChangeDetectorRef,
EventEmitter,
Output
} 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 {
@Output()
closed = new EventEmitter<void>();
constructor(private changeDetectorRef: ChangeDetectorRef) {}
ngOnInit(): void {}
ngOnDestroy(): void {}
onClickClose(event: MouseEvent): void {
this.closed.emit();
}
}