member_webapp/@overflow/member/component/policy/policy.component.ts

37 lines
674 B
TypeScript
Raw Normal View History

2018-05-03 07:19:10 +00:00
import {Component, OnInit, OnDestroy, EventEmitter, Input, 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-policy',
templateUrl: './policy.component.html',
})
export class PolicyComponent 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();
}
}