migrate angular 21 finalize

This commit is contained in:
2026-03-09 22:56:31 +01:00
parent 26c99a0dae
commit bb08e46b0c
63 changed files with 738 additions and 783 deletions

View File

@@ -1,10 +1,9 @@
import {Directive, ElementRef, Input, OnInit} from '@angular/core';
import {Directive, ElementRef, Input, OnInit, inject} from '@angular/core';
@Directive({selector: '[appAutofocus]'})
export class AutofocusDirective implements OnInit {
private focus = true;
public constructor(private el: ElementRef<HTMLElement>) {}
private el = inject<ElementRef<HTMLElement>>(ElementRef);
@Input()
public set autofocus(condition: boolean) {