member_webapp/@overflow/member/container/terms/terms.component.ts
crusader 869fcf4e72 ing
2018-05-28 14:41:56 +09:00

35 lines
667 B
TypeScript

import {Component, OnInit, OnDestroy, Input, EventEmitter, Output} from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
// import { PagesComponent } from 'app/pages/pages.component';
@Component({
selector: 'of-member-terms',
templateUrl: './terms.component.html',
})
export class TermsComponent implements OnInit, OnDestroy {
@Input() termsDisplay;
@Output() close = new EventEmitter();
constructor(
private activatedRoute: ActivatedRoute,
private router: Router,
) {
}
ngOnInit() {
}
ngOnDestroy() {
}
onTermsClose() {
this.termsDisplay = false;
}
onCancel() {
this.close.emit();
}
}