Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Component, OnInit } from '@angular/core';
- @Component({
- selector: 'app-home',
- templateUrl: './home.component.html',
- styleUrls: ['./home.component.scss']
- })
- export class HomeComponent implements OnInit {
- constructor() { }
- ngOnInit() {
- }
- myFunction() {
- let testNotify = new Notification('Title', {
- body: 'Lorem Ipsum Dolor Sit Amet'
- })
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement