member_webapp/@overflow/member/container/member-policy-container.component.ts
2018-05-28 19:46:47 +09:00

37 lines
716 B
TypeScript

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