member_webapp/@overflow/member/container/terms/terms.component.ts

35 lines
667 B
TypeScript
Raw Normal View History

2018-05-03 07:19:10 +00:00
import {Component, OnInit, OnDestroy, Input, EventEmitter, Output} from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
2018-05-24 06:44:13 +00:00
// import { PagesComponent } from 'app/pages/pages.component';
2018-05-03 07:19:10 +00:00
@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();
}
}