docs: fix documention for attributes directive (#24367)
fix:update documentation for attributes directive to fix error PR Close #24367
This commit is contained in:
parent
e3064d5432
commit
7f3242affb
|
@ -96,7 +96,7 @@ Now edit the generated `src/app/highlight.directive.ts` to look as follows:
|
||||||
|
|
||||||
The `import` statement specifies an additional `ElementRef` symbol from the Angular `core` library:
|
The `import` statement specifies an additional `ElementRef` symbol from the Angular `core` library:
|
||||||
|
|
||||||
You use the `ElementRef`in the directive's constructor
|
You use the `ElementRef` in the directive's constructor
|
||||||
to [inject](guide/dependency-injection) a reference to the host DOM element,
|
to [inject](guide/dependency-injection) a reference to the host DOM element,
|
||||||
the element to which you applied `appHighlight`.
|
the element to which you applied `appHighlight`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue