1356 Commits

Author SHA1 Message Date
Chris
d9acaa8547 docs: remove Codelyzer recommendation from style guide ()
Fixes 

PR Close 
2021-03-04 11:01:48 -08:00
David Shevitz
d10599459d docs: update @reviewed date ()
PR Close 
2021-03-03 10:03:57 -08:00
Daniel
5eab6e14f1 docs: fix typo in router.md file ()
PR Close 
2021-03-03 09:36:06 -08:00
Aristeidis Bampakos
198e841564 docs(http): add example for interceptor order ()
Add an example for the order of interceptor with image

PR Close 
2021-03-01 15:33:36 -08:00
Kapunahele Wong
6c783c7fcb docs: rewrite structural-directives.md ()
PR Close 
2021-03-01 15:32:26 -08:00
Alan Agius
06fb318b3b docs: update inlineCritical default value ()
Related to https://github.com/angular/angular-cli/pull/20096

PR Close 
2021-02-26 15:41:15 -08:00
Pete Bacon Darwin
4859c0947a build(docs-infra): implement full template checking for examples ()
This commit turns on full template type checking and fixes the examples
that had errors.

PR Close 
2021-02-26 15:40:44 -08:00
Theoklitos Bampouris
fb82558d78 docs: Change lexical in security guide ()
Change `onerror` attribute reference to `script` element reference
PR Close 
2021-02-26 15:14:57 -08:00
cexbrayat
91cdc11aa0 fix(common): allow number or boolean as http params ()
This change fixes an incompatibility between the old `@angular/http` package
and its successor (`@angular/common/http`) by re-introducing the types that were supported before.

It now allows to use number and boolean directly as HTTP params, instead of having to convert it to string first.

Before:

    this.http.get('/api/config', { params: { page: `${page}` } });

After:

    this.http.get('/api/config', { params: { page }});

`HttpParams` has also been updated to have most of its methods accept number or boolean values.

Fixes 

BREAKING CHANGE:

The methods of the `HttpParams` class now accept `string | number | boolean`
instead of `string` for the value of a parameter.
If you extended this class in your application,
you'll have to update the signatures of your methods to reflect these changes.

PR Close 
2021-02-26 12:03:50 -08:00
George Kapris
953e98e211 docs: Change grammatically in security guide ()
Change `controller` reference to `component` reference
PR Close 
2021-02-26 08:25:21 -08:00
Alan Agius
d51d39cb4c docs: update docs to use new zone.js entry-points ()
In CLI version 12, the old style of imports is no longer supported.

PR Close 
2021-02-24 07:58:29 -08:00
Kapunahele Wong
d0b6270990 docs: edit Component lifecycle title ()
PR Close 
2021-02-19 09:10:37 -08:00
Amadou Sall
aed2782c4a docs: the token should be associated with LibHeaderComponent ()
PR Close 
2021-02-19 09:07:00 -08:00
Kapunahele Wong
30d5e25a28 docs: edit attribute-directives.md, move best practice to styleguide ()
PR Close 
2021-02-19 08:14:54 -08:00
DerekRTP
65baac6055 docs: update attribute-binding.md to correctly describe [attr.binding] rules ()
PR Close 
2021-02-17 17:05:17 -08:00
Dmitrij Kuba
2375b85fe0 docs: remove mention of unused Intl polyfill ()
Since `Intl` API was dropped to use to improve browser support,
it is no longer needed as a polyfill to test Angular.

PR Close 
2021-02-17 17:04:15 -08:00
David Shevitz
1de999b89d docs: fix minor grammar mistakes in What is Angular topic ()
PR Close 
2021-02-17 13:23:49 -08:00
David Shevitz
8658cd59b2 docs: add what is angular topic ()
PR Close 
2021-02-17 11:13:21 -08:00
Daniel
9b26f462d0 docs: fix grammar in angular-compiler-options file ()
PR Close 
2021-02-17 06:56:38 -08:00
Amadou Sall
0807d13201 docs: remove the extra backtick character ()
PR Close 
2021-02-17 06:56:03 -08:00
Kapunahele Wong
75db0c7445 docs: edit builtin-directives doc ()
Edit built-in-directives.md copy and headers, fixes affected
links, adds a docregion to make steps clearer.

PR Close 
2021-02-16 13:04:41 -08:00
Alexey Elin
c47dbbede7 docs: fix broken link in Default Architect builders and targets section (+ remove typo 'the') ()
PR Close 
2021-02-16 10:04:48 -08:00
Brandon Winchester
7fa881919b docs: Add documentation about the CLI failing ()
The CLI seems to throw very non-descriptive errors. Adding a section to help users troubleshoot lazy-loading modules.

PR Close 
2021-02-16 08:04:05 -08:00
Pete Bacon Darwin
529f0a83cb docs(http): add custom JSONParser example ()
Update the HTTP guide and associated example to demonstrate
how an interceptor can be used to provide a custom JSON parser.

Resolves 

PR Close 
2021-02-16 08:03:33 -08:00
Dan Levy
72db3e8d54 docs: add camelCase example to style notation ()
PR Close 
2021-02-16 07:59:40 -08:00
Alexey Elin
5f0c219883 docs: fix schematics' package name for ng generate sub-commands ()
PR Close 
2021-02-16 07:43:02 -08:00
Daniel
67d85b3680 docs: capitalize Angular word in upgrade-setup.md file ()
PR Close 
2021-02-16 07:42:35 -08:00
mgechev
72a00dcc6b docs: add a style recommendation for initializing inputs ()
This practice is to better align with `strictPropertyInitialization`
which is coming by default with strict mode in v12.

PR Close 
2021-02-12 17:07:30 -08:00
Jeremy Elbourn
bbbfa3e6bd docs: clarify that support schedule is subject to change ()
Initially raised due to , this change updates our
"Support policy and schedule" with the same disclaimer
from the "Release frequency" section above.

PR Close 
2021-02-12 16:14:52 -08:00
Daniel
cbb6b4a30b docs: capitalize Angular word in zone.md file ()
PR Close 
2021-02-12 12:01:55 -08:00
Nicholas Papadopoulos
6f017a4d60 docs: fix typo in workspace config docs ()
PR Close 
2021-02-10 16:01:12 -08:00
Alexey Elin
7a8821c9aa docs: add link to component-less routes description. ()
Currently it's not clear what a component-less route is. Add a link to  make it clear

PR Close 
2021-02-10 11:08:39 -08:00
Mickael Istria
e895166082 docs(language-service): Add note about Eclipse IDE support of Angular LS ()
Mention Eclipse Wild Web Developer that ships with Angular language
service.

PR Close 
2021-02-10 11:05:52 -08:00
Kanstantsin Kamkou
8f2260a073 docs: clarify observables recommendation ()
Observables are not the only async mechanism that Angular employs.
This change respects that application developers are not required to
use Observables in their own application architecture.

Closes 

PR Close 
2021-02-10 11:04:04 -08:00
Kapunahele Wong
f76f2eb381 docs: update docs-style-guide ()
This commit updates the documentation style guide
so that it is in line with current standards, those
of Google as well as those within the Angular docs.

PR Close 
2021-02-09 14:26:06 -08:00
mgechev
2282069388 docs: clarify vscode integration maintenance ()
PR Close 
2021-02-09 10:43:40 -08:00
Aristeidis Bampakos
348d365666 docs(service-worker): copyedit getting started guide ()
Fix numbered list for the `Making changes to your application` section

PR Close 
2021-02-09 10:34:15 -08:00
Alan Agius
6ad057d28c docs: clarify that fileReplacements only supports compilation source files ()
fileReplacements is intended to only work on compilation source files

PR Close 
2021-02-03 09:10:23 -08:00
George Kalpakas
a086976d68 fix(docs-infra): improve heading styles ()
This commit includes some general improvements to heading styles
(font-weight, margin/padding). It also adds a horizontal separator above
`<h2>` headings to segment important sections more easily.
(As a consequence, we can remove several `<hr />` elements right before
`<h2>` headings.)

Co-authored-by: Stefanie Fluin <sjtrimble@gmail.com>

PR Close 
2021-02-02 12:04:55 -08:00
Viktor Uhryn
cc8af03eec docs: fix typo in lazy-loading guide ()
PR Close 
2021-02-02 12:04:22 -08:00
Teri Glover
eee3354223 docs: fix typo to remove space ()
PR Close 
2021-01-28 15:54:20 -08:00
Pete Bacon Darwin
b9f04bf5bb docs: add a @reviewed tag to the i18n guide ()
PR Close 
2021-01-28 09:04:49 -08:00
George Kalpakas
f1cf875872 docs(elements): add notice about choosing a tag name in Elements guide ()
This commit adds a warning in the Elements guide about using
`@Component.selector` as the tag name for the registered custom element.
See also  for context.

PR Close 
2021-01-27 10:23:46 -08:00
George Kalpakas
73fcf47047 docs(elements): add MDN links for mentioned built-in APIs in Elements guide ()
PR Close 
2021-01-27 10:23:45 -08:00
Wataru.Kasahara
956f75f068 docs: fix the docs because the interface does not exist ()
PR Close 
2021-01-25 16:29:13 -08:00
Newsha Hosseiny Nik
7a1d719091 docs: remove an extra "and" in the tutorial ()
PR Close 
2021-01-25 10:02:02 -08:00
Wataru.Kasahara
3f92be4ec3 docs: remove old content from CLI configuration guide ()
PR Close 
2021-01-21 13:49:23 -08:00
Kapunahele Wong
51d6aed677 docs: clarify name collision info, add example snippet, and fix example CSS ()
Fixes  and fixes imgs and layout of example
that are unrestrained and thus are too big in StackBlitz.

PR Close 
2021-01-20 16:13:43 -08:00
David Shevitz
5e95153d44 docs: Return SVG topic to documentation; light edits for clarity ()
PR Close 
2021-01-19 14:18:51 -08:00
abarghoud
2c95f57266 feat(docs-infra): use Record type instead of key-value ()
use Record type instead of key-value

Closes 

PR Close 
2021-01-19 09:21:23 -08:00