Created
December 28, 2019 19:11
-
-
Save Ze1598/1212720f0083a131e223f0abaaf23f7f to your computer and use it in GitHub Desktop.
Reusable modal component: mock-serv-1.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 MockServ1Service { | |
constructor() { } | |
alertLogout(modalData: any) { | |
alert("User with ID " + modalData.userId + " has logged out."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment