add screenshots in readme

This commit is contained in:
Tykayn 2023-09-07 17:59:10 +02:00 committed by tykayn
parent cd02bb6deb
commit 7c7830db0c
2 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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();