From 7c7830db0cc732e9b1322952117c19818f3ced6e Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 7 Sep 2023 17:59:10 +0200 Subject: [PATCH] add screenshots in readme --- README.md | 4 ++++ src/app/app.component.ts | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 429a460..1a60609 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.4. +![modele](doc/Screenshot_20230907_163721.png "modele") + +![result](doc/Screenshot%202023-09-07%20at%2017-56-09%20TestingShows.png "result") + ## Development server Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7983c45..76e6d5c 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -6,8 +6,6 @@ import {ChangeDetectorRef, Component} from '@angular/core'; styleUrls: ['./app.component.scss'] }) export class AppComponent { - title = 'testing_shows'; - name = 'Angular'; constructor(private ref: ChangeDetectorRef){ this.computeInterval() } @@ -32,7 +30,9 @@ export class AppComponent { }, ]; - // compute current time every second + /** + * compute current time every second + */ computeInterval() { const interval = window.setInterval(() => { this.currentTime = new Date();