Advertisement
Guest User

Untitled

a guest
Jul 6th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import { Component, OnInit } from '@angular/core';
  2.  
  3. @Component({
  4. selector: 'app-home',
  5. templateUrl: './home.component.html',
  6. styleUrls: ['./home.component.scss']
  7. })
  8. export class HomeComponent implements OnInit {
  9.  
  10. constructor() { }
  11.  
  12. ngOnInit() {
  13.  
  14. }
  15.  
  16. myFunction() {
  17.  
  18. let testNotify = new Notification('Title', {
  19. body: 'Lorem Ipsum Dolor Sit Amet'
  20. })
  21.  
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement