docs: make MDN link locale-indepenent (#39842)
`en-US` makes it link to the English (US) version. This patch removes this and let's MDN auto-redirect to the user's preferred/selected language/website locale. PR Close #39842
This commit is contained in:
parent
bf12f51b49
commit
6653028863
|
@ -68,7 +68,7 @@ The generated `src/app/highlight.directive.ts` is as follows:
|
|||
The imported `Directive` symbol provides Angular the `@Directive` decorator.
|
||||
|
||||
The `@Directive` decorator's lone configuration property specifies the directive's
|
||||
[CSS attribute selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors), `[appHighlight]`.
|
||||
[CSS attribute selector](https://developer.mozilla.org/docs/Web/CSS/Attribute_selectors), `[appHighlight]`.
|
||||
|
||||
It's the brackets (`[]`) that make it an attribute selector.
|
||||
Angular locates each element in the template that has an attribute named `appHighlight` and applies the logic of this directive to that element.
|
||||
|
|
Loading…
Reference in New Issue