Created
December 15, 2018 18:12
-
-
Save astr0sl0th/3b0727ae4e54171c6eae46a682f93686 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Component, OnInit } from '@angular/core'; | |
| import { ModalService } from './modal.service'; | |
| @Component({ | |
| selector: 'app-notification', | |
| templateUrl: './notification.component.html', | |
| styleUrls: ['./notification.component.css'] | |
| }) | |
| export class NotificationComponent implements OnInit { | |
| constructor(private modalService: ModalService) {} | |
| ngOnInit() {} | |
| openNotification() { | |
| this.modalService.toggalModal.next('notification') | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment