Skip to content

Commit f751941

Browse files
committed
feat: public elementRef for control
1 parent ff58df1 commit f751941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/ngfe/src/lib/core/fe-control.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {
22
ChangeDetectorRef,
3-
Directive,
3+
Directive, ElementRef,
44
EventEmitter,
55
Inject,
66
Input,
@@ -147,10 +147,10 @@ export class FeControl<MODEL = any, INPUT = any> implements OnChanges, OnDestroy
147147
private _debounce?: number;
148148

149149
constructor(
150+
public elementRef: ElementRef,
150151
@Optional() @Inject(FeForm) private group: FeForm | undefined,
151152
@Optional() @Inject(FeControl) @SkipSelf() private parentControl: FeControl | undefined,
152153
private cdr: ChangeDetectorRef,
153-
// @todo public elementRef ??
154154
) {
155155
if (this.group) {
156156
this.standalone$.subscribe(() => {

0 commit comments

Comments
 (0)