We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66766eb commit 2fb4301Copy full SHA for 2fb4301
1 file changed
src/app/modules/about/about.component.ts
@@ -7,12 +7,16 @@ import { IAboutService } from './iabout.service';
7
styleUrls: ['./about.component.scss']
8
})
9
export class AboutComponent implements OnInit {
10
-
11
- email: string;
12
13
- constructor(private aboutService: IAboutService) {}
+ email: string;
14
15
- ngOnInit(): void {
16
- this.email = this.aboutService.getContactEmail();
17
- }
18
-}
+ constructor(private aboutService: IAboutService) { }
+
+ ngOnInit(): void {
+ this.email = this.aboutService.getContactEmail();
+ }
19
+ runMe(): void {
20
+ this.email = 'dummy@example.com';
21
22
+}
0 commit comments