Skip to content
Snippets Groups Projects
Commit 4c6fde69 authored by mathias.chouet's avatar mathias.chouet
Browse files

Merge branch 'k-c' into angular-8

parents 3bb2985e b2a00e93
No related branches found
No related tags found
1 merge request!51Update to Angular 8
......@@ -9288,6 +9288,11 @@
"integrity": "sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==",
"dev": true
},
"ngx-konami": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/ngx-konami/-/ngx-konami-1.6.0.tgz",
"integrity": "sha512-no/NocDjFnGw5XlNlj6LavP2YA3NxEg3eIHylU9dblkl5JgcfIEw3YntRs9/3OUSnVZGhZSNZkO35sY2AGtkoA=="
},
"ngx-material-file-input": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/ngx-material-file-input/-/ngx-material-file-input-1.1.1.tgz",
......
......@@ -28,6 +28,7 @@ import {
import { MaterialFileInputModule } from "ngx-material-file-input";
import {TableModule} from "primeng/components/table/table";
import { KonamiModule } from "ngx-konami";
import { FlexLayoutModule } from "@angular/flex-layout";
import {
......@@ -148,7 +149,8 @@ const appRoutes: Routes = [
}
),
StorageServiceModule,
TableModule
TableModule,
KonamiModule
],
declarations: [ // composants, pipes et directives
AppComponent,
......
<div class="container" fxLayout="row wrap" fxLayoutAlign="space-evenly stretch">
<div class="container" fxLayout="row wrap" fxLayoutAlign="space-evenly stretch" (konami)="onKC()">
<mat-card class="welcome-card" *ngIf="nbOpenCalculators === 0">
......
......@@ -142,6 +142,13 @@ export class CalculatorListComponent implements OnInit {
return ServiceFactory.instance.i18nService.localizeText("INFO_WELCOME_CONTENT");
}
public onKC() {
for (const i of this.items) {
i.image.path = "assets/images/themes/sp.jpg";
i.image.credits = "lol";
}
}
// interface Observer
update(sender: any, data: any): void {
......
src/assets/images/themes/sp.jpg

37 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment