member_webapp/src/app/commons/component/layout/topbar/app.topbar.component.ts
2018-05-18 17:30:20 +09:00

24 lines
578 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { AppComponent } from 'app/app.component';
import { PagesComponent } from 'app/pages/pages.component';
import { AppNotificationComponent } from '../notification/app.notification.component';
@Component({
selector: 'of-topbar',
templateUrl: './app.topbar.component.html',
})
export class AppTopbarComponent implements OnInit {
notificationCount;
constructor(
public app: PagesComponent,
) { }
ngOnInit() {
}
onNotiLoaded(count) {
this.notificationCount = count;
}
}