Created
December 28, 2019 19:13
-
-
Save Ze1598/b2fd09f97e00af68b37c14c2981d53f6 to your computer and use it in GitHub Desktop.
Reusable modal component: mock-serv-2.service.ts
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 { Injectable } from '@angular/core'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class MockServ2Service { | |
constructor() { } | |
alertDelete(modalData: any) { | |
alert("Product with ID " + modalData.productId + " has been deleted."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment