docs(attribute-directives): fix typo (#3193)
Change `Import` to `Input` which is used in the example ``` import { Directive, ElementRef, HostListener, Input } from '@angular/core'; ```
This commit is contained in:
parent
8e2c3d3d99
commit
223854fcd1
|
@ -172,7 +172,7 @@ a#respond-to-user
|
||||||
and respond by setting or clearing the highlight color.
|
and respond by setting or clearing the highlight color.
|
||||||
|
|
||||||
Begin by adding `HostListener` to the list of imported symbols;
|
Begin by adding `HostListener` to the list of imported symbols;
|
||||||
add the `Import` symbol as well because you'll need it soon.
|
add the `Input` symbol as well because you'll need it soon.
|
||||||
+makeExample('attribute-directives/ts/src/app/highlight.directive.ts','imports')(format=".")
|
+makeExample('attribute-directives/ts/src/app/highlight.directive.ts','imports')(format=".")
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
|
|
Loading…
Reference in New Issue