add screenshots in readme
This commit is contained in:
parent
cd02bb6deb
commit
7c7830db0c
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.1.4.
|
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
|
## 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.
|
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.
|
||||||
|
@ -6,8 +6,6 @@ import {ChangeDetectorRef, Component} from '@angular/core';
|
|||||||
styleUrls: ['./app.component.scss']
|
styleUrls: ['./app.component.scss']
|
||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
title = 'testing_shows';
|
|
||||||
name = 'Angular';
|
|
||||||
constructor(private ref: ChangeDetectorRef){
|
constructor(private ref: ChangeDetectorRef){
|
||||||
this.computeInterval()
|
this.computeInterval()
|
||||||
}
|
}
|
||||||
@ -32,7 +30,9 @@ export class AppComponent {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// compute current time every second
|
/**
|
||||||
|
* compute current time every second
|
||||||
|
*/
|
||||||
computeInterval() {
|
computeInterval() {
|
||||||
const interval = window.setInterval(() => {
|
const interval = window.setInterval(() => {
|
||||||
this.currentTime = new Date();
|
this.currentTime = new Date();
|
||||||
|
Loading…
Reference in New Issue
Block a user