auto migrate standalone components
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import {Directive, ElementRef, Input, OnInit} from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
selector: '[appAutofocus]',
|
||||
standalone: false,
|
||||
})
|
||||
@Directive({ selector: '[appAutofocus]', })
|
||||
export class AutofocusDirective implements OnInit {
|
||||
private focus = true;
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {AutofocusDirective} from './autofocus.directive';
|
||||
|
||||
@NgModule({
|
||||
declarations: [AutofocusDirective],
|
||||
exports: [AutofocusDirective],
|
||||
imports: [CommonModule],
|
||||
})
|
||||
export class AutofocusModule {
|
||||
}
|
||||
Reference in New Issue
Block a user