Angular 22 defaults to OnPush, so Eager is removed. Template state is now signals, so sorting needs no detectChanges. Game of Life execution time now updates live. Remove the unused ImageDialogComponent and turn the OnPush lint rule back on.
19 lines
471 B
TypeScript
19 lines
471 B
TypeScript
import { Component } from '@angular/core';
|
|
import {MatCard} from '@angular/material/card';
|
|
import {TranslatePipe} from '@ngx-translate/core';
|
|
import {SharedFunctions} from '../../shared/SharedFunctions';
|
|
|
|
@Component({
|
|
selector: 'app-imprint',
|
|
imports: [
|
|
MatCard,
|
|
TranslatePipe
|
|
],
|
|
templateUrl: './imprint.component.html',
|
|
styleUrl: './imprint.component.scss',
|
|
})
|
|
export class ImprintComponent {
|
|
|
|
protected readonly SharedFunctions = SharedFunctions;
|
|
}
|