Judy Bogart
1b72fc10eb
docs: edit displaying-data page to introduce section ( #35507 )
...
PR Close #35507
2020-02-20 10:50:05 -08:00
Chives
d7c4f40171
docs(upgrade): separate AngularJS Material typings to its own block ( #35514 )
...
PR Close #35514
2020-02-18 12:42:19 -08:00
Chives
99fdba0165
docs(upgrade): add instructions for more AngularJS related typings ( #35514 )
...
angular-aria is a core AngularJS module packaged separately, and
angular-material is its own thing entirely.
PR Close #35514
2020-02-18 12:42:19 -08:00
Sonu Kapoor
be5e75c804
docs: change `item` to `items` to match the code ( #35433 )
...
Closes #35368
PR Close #35433
2020-02-14 11:15:07 -08:00
Aristeidis Bampakos
9ca1faf865
docs: Fix minor typos and coding styles ( #35325 )
...
- Fix minor typos in the Getting Started, Forms and AOT Compiler guide.
- Fix minor typo in the Tour of Heroes app.
- Fix coding styles in the Getting Started guide and the Tour of Heroes app
PR Close #35325
2020-02-13 13:31:30 -08:00
Igor Minar
dc63ceb5a3
docs: update release.md and rename 'beta' releases to 'next' ( #35276 )
...
also clarify what 'next' releases are.
PR Close #35276
2020-02-13 10:00:50 -08:00
Sonu Kapoor
6091039223
docs: Rename FAQ to Useful Tips ( #35316 )
...
Previously, a section in the FAQ was not clear when discussing a
simple unit test. We also want to move away from question-based
sections. This commit clarified the confusing section and
changed all question-based sections.
Closes #35056
PR Close #35316
2020-02-12 16:40:17 -08:00
Judy Bogart
26b17aee14
docs: add asset info to library guide ( #34217 )
...
PR Close #34217
2020-02-07 13:57:18 -08:00
Sonu Kapoor
f7e1c21596
docs: fix awkard space due to margin in sections with `alert` class ( #35113 )
...
PR Close #35113
2020-02-07 11:36:58 -08:00
Sachin Grover
843b3a2197
docs: missing item variable in structural directives example ( #35213 )
...
PR Close #34762
PR Close #35213
2020-02-07 11:32:37 -08:00
Oleg Teterin
79742a397f
fix(docs-infra): fix parameters with @Optional() decorator do not match declared, optional type ( #35150 )
...
PR Close #35150
2020-02-07 09:58:31 -08:00
David Shevitz
5b80e944be
docs: Minor updates to Updating to Angular version 9 topic ( #35135 )
...
PR Close #35135
2020-02-07 09:57:56 -08:00
Schneider
53193c9779
docs: fix typo in glossary ( #35108 )
...
PR Close #35108
2020-02-07 09:57:25 -08:00
Misko Hevery
16eb691e7f
docs(ivy): add anchor-node insert before/after difference ( #35207 )
...
PR Close #35207
2020-02-07 09:56:37 -08:00
JiaLiPassion
dc5ac88a19
docs: fix wrong link of tick() ( #35168 )
...
PR Close #35168
2020-02-06 15:35:50 -08:00
Sonu Kapoor
10ad984334
docs: Clarifies code section is a continuation from the section above ( #35111 )
...
PR Close #35111
2020-02-06 15:31:41 -08:00
Stephen Fluin
532ccb647c
docs: remove the release schedule from docs ( #34474 )
...
Removing for now, since the info is stale, and we need to determine how to adjust the schedule due to the unexpected and significant version 9 delay.
PR Close #34474
2020-02-06 14:29:21 -08:00
Igor Minar
86db592b5c
docs(ivy): add a not about compile-time constants to the ivy compatibility guide ( #35194 )
...
PR Close #35194
2020-02-06 13:53:50 -08:00
Kara Erickson
c286fbb9dc
docs(ivy): add size debugging section ( #35178 )
...
PR Close #35178
2020-02-06 09:34:36 -08:00
Kara Erickson
7526ef77b7
docs(ivy): add docs for styling priority order ( #35066 )
...
PR Close #35066
2020-02-06 09:33:28 -08:00
Kara Erickson
4e9d62ff81
docs(ivy): update style binding docs to v9 behavior ( #35066 )
...
PR Close #35066
2020-02-06 09:33:28 -08:00
Kara Erickson
a08f6d9795
docs(ivy): clean up class binding docs and update to v9 behavior ( #35066 )
...
PR Close #35066
2020-02-06 09:33:28 -08:00
Kara Erickson
4fc2678438
docs(ivy): document breaking change with host attribute priority ( #35175 )
...
PR Close #35175
2020-02-05 18:22:16 -08:00
Sasha Rudan
1f6da8c7d5
docs: fix typo in router animation ( #35100 )
...
`output directive` should be written: `outlet directive`
PR Close #35100
2020-02-04 15:58:26 -08:00
Sonu Kapoor
7fb66eca25
docs: changes AoT to AOT for consistency ( #35112 )
...
PR Close #35112
2020-02-04 10:43:33 -08:00
Stephen Fluin
e6cb60ee22
docs: update typescript version reference ( #35120 )
...
PR Close #35120
2020-02-04 10:22:48 -08:00
Kapunahele Wong
7369dd6f24
docs: fix animations example/remove 1st person ( #35046 )
...
Fixes #34940 and removes first person from transitions-triggers.md
PR Close #35046
2020-02-04 08:58:04 -08:00
Judy Bogart
0e3eeb4e71
docs: restructure nav for beginner concepts ( #34681 )
...
PR Close #34681
2020-02-04 08:57:31 -08:00
Kapunahele Wong
d72cfc9d57
docs: remove deployment section on golang because of errors ( #34099 )
...
The golang section was recently added to the deployment guide
but has been reported as returning errors, where it had previously
worked. After discussion and testing with
Stephen Fluin, we are removing this section because of
inconsistency in functionality.
PR Close #34099
2020-01-30 10:20:19 -08:00
Stephen Fluin
a892054448
docs: remove named node version ( #35014 )
...
PR Close #35014
2020-01-29 13:10:26 -08:00
ajitsinghkaler
a5a598104f
docs: change p to pointer for better understanding ( #34927 )
...
earlier p sigly was used to define a paragraph element which was not clear what we want to refer changed it to paragrapg element for better understanding
Fixes #34922
PR Close #34927
2020-01-28 13:04:25 -08:00
Alan Agius
36ff0dba1c
docs: add link to publish a library in ivy guide ( #34986 )
...
PR Close #34986
2020-01-27 10:50:52 -08:00
Turtuvshin Byambaa
c485c8a8c0
docs(core): fix typo in hierarchical injectors doc ( #34968 )
...
Fixes #34953
PR Close #34968
2020-01-27 10:50:07 -08:00
Igor Minar
0a1af2ff36
docs: drop support for Android Marshmallow and older Android versions ( #34540 )
...
We no longer test against these.
PR Close #34540
2020-01-27 10:46:26 -08:00
philonor
53b7bbf3ff
docs: update Android versions ( #34540 )
...
Include Android versions 8, 9 and 10 in supported browsers.
PR Close #34540
2020-01-27 10:46:26 -08:00
Alex Rickabaugh
0c8d085666
fix(ivy): use any for generic context checks when !strictTemplates ( #34649 )
...
Previously, the template type-checker would always construct a generic
template context type with correct bounds, even when strictTemplates was
disabled. This meant that type-checking of expressions involving that type
was stricter than View Engine.
This commit introduces a 'strictContextGenerics' flag which behaves
similarly to other 'strictTemplates' flags, and switches the inference of
generic type parameters on the component context based on the value of this
flag.
PR Close #34649
2020-01-23 10:31:48 -08:00
Aravind
1be5b69174
docs: fix typo on router guide ( #34911 )
...
closes #34907
PR Close #34911
2020-01-22 14:32:56 -08:00
Judy Bogart
13ce3756c2
docs: add differential loading term to glossary ( #34884 )
...
PR Close #34884
2020-01-22 13:37:35 -08:00
Sonu Kapoor
e7cf37d99f
docs: clarify where the `async` utility function is coming from ( #34876 )
...
inside the `beforeEach` for out testing guide.
Fixes #34833
PR Close #34876
2020-01-22 14:40:17 -05:00
Sonu Kapoor
def4127bf1
fix(docs-infra): convert hard-coded `comparing-observables` examples into a proper mini-app ( #34327 )
...
Previously, the examples in the `comparing-observables` guide were hard-coded.
This made it impossible to test them and verify they are correct.
This commit fixes this by converting them into a proper mini-app. In a
subsequent commit, tests will be added to verify that the source code
works as expected (and guard against regressions).
Fixes #31024
PR Close #34327
2020-01-21 13:14:46 -05:00
Sonu Kapoor
15ae924035
fix(docs-infra): convert hard-coded `cli-builder` examples into a proper mini-app ( #34362 )
...
Previously, the examples in the `cli-builder` guide were hard-coded.
This made it impossible to test them and verify they are correct.
This commit fixes this by converting them into a proper mini-app. In a
subsequent commit, tests will be added to verify that the source code
works as expected (and guard against regressions).
Fixes #34314
PR Close #34362
2020-01-21 13:12:18 -05:00
ajitsinghkaler
4dbc871169
docs(core): fix typo in dependency injection guide (interactive --> interacting) ( #34853 )
...
Fixes #34852
PR Close #34853
2020-01-21 13:03:04 -05:00
ajitsinghkaler
2694a3b734
docs(core): add missing quote in dependency injection provider guide ( #34854 )
...
Add closing double quote in HTML `class` attribute in dependency
injection provider guide.
Fixes #34851
PR Close #34854
2020-01-21 13:02:29 -05:00
Pete Bacon Darwin
3102dc8344
docs: do not add auto-code-links to observables example ( #34797 )
...
Fixes #34793
PR Close #34797
2020-01-16 12:06:25 -05:00
Pete Bacon Darwin
58f10026c4
docs: add deprecation info about default currency code ( #32584 )
...
In v10 the default currency code will be taken from the
current locale, rather than simply defaulting to `USD`.
PR Close #32584
2020-01-13 09:57:06 -08:00
Adam
55037d1107
build: bump year ( #34651 )
...
PR Close #34651
2020-01-13 07:21:43 -08:00
mikef
afc88074cd
docs: correct full stop position in providers section ( #34712 )
...
Correct the position of the full stop at the end of the limiting provider scope with components paragraph.
PR Close #34712
2020-01-13 07:20:24 -08:00
Judy Bogart
475ffd67f5
docs: move ngcc def from page to glossary ( #34196 )
...
PR Close #34196
2020-01-10 08:38:53 -08:00
Judy Bogart
efdf347f9c
docs: apply standard header case convention ( #34196 )
...
PR Close #34196
2020-01-10 08:38:53 -08:00
Kara Erickson
9c5510b28e
docs(ivy): document breaking change with <select> and binding order ( #34709 )
...
Closes #34470
PR Close #34709
2020-01-09 15:13:56 -08:00
Do Nhu Vy
97c3e9d59f
docs: Change screenshot to new Angular 9 app UI ( #33998 )
...
PR Close #33998
2020-01-09 13:45:11 -08:00
Kara Erickson
9f65b787d0
docs: deprecate undecorated base classes that use Angular features ( #34668 )
...
PR Close #34668
2020-01-08 15:08:53 -08:00
George Kalpakas
7cdc118c8e
refactor(docs-infra): extract all `lazy-loading-ngmodules` examples from mini-app ( #34599 )
...
Previously, some of the examples in the `lazy-loading-ngmodules` guide
were hard-coded.
This commit ensures all examples in the guide are extracted from
docregions in the corresponding example project.
PR Close #34599
2020-01-07 10:44:12 -08:00
Alan Agius
d66cf31ffc
docs: add missing `t` typo and remove redundan `-` ( #34599 )
...
PR Close #34599
2020-01-07 10:44:12 -08:00
Alan Agius
c2d03e5e21
docs: fix lazy routes code snippet format ( #34599 )
...
PR Close #34599
2020-01-07 10:44:12 -08:00
Kara Erickson
3053e022d3
docs(ivy): minor changes to version 9 guide ( #34498 )
...
The main change here was to remove the updating instructions for
version 9 and instead point to update.angular.io. This ensures
we only have one "source of truth" for update instructions.
This commit also includes updates to error message text to
keep them up-to-date with live error messages (and thus keep
them searchable).
PR Close #34498
2020-01-07 10:34:37 -08:00
Jeff Held
eab7f9f101
docs: add a comma ( #34426 )
...
PR Close #34426
2020-01-06 11:27:05 -08:00
JoostK
e116816131
refactor(ivy): let `strictTemplates` imply `fullTemplateTypeCheck` ( #34195 )
...
Previously, it was required that both `fullTemplateTypeCheck` and
`strictTemplates` had to be enabled for strict mode to be enabled. This
is strange, as `strictTemplates` implies `fullTemplateTypeCheck`. This
commit makes setting the `fullTemplateTypeCheck` flag optional so that
strict mode can be enabled by just setting `strictTemplates`.
PR Close #34195
2020-01-06 11:07:54 -08:00
Pawel Kozlowski
ea57587b7c
docs(ivy): document breaking changes for DebugElement classes and attributes ( #34328 )
...
PR Close #34328
2019-12-13 10:53:41 -08:00
Kapunahele Wong
a9e3cbd534
docs: add docs about inputs and strictNullChecks to template typecheck ( #34194 )
...
PR Close #34194
2019-12-12 15:58:13 -08:00
Judy Bogart
c9df9afddd
docs: add change detection to glossary ( #34316 )
...
PR Close #34316
2019-12-10 16:30:35 -08:00
Jonathan Sharpe
8683c0335b
docs: Fix links to Webpack docs ( #34326 )
...
The previous link, https://webpack.js.org/configuration/dev-server/#devserver-proxy , doesn't go directly to the proxy section.
PR Close #34326
2019-12-10 09:18:17 -08:00
Luka Petrovic
f95e2c7e7e
docs: fix broken links ( #34311 )
...
PR Close #34311
2019-12-10 09:17:12 -08:00
Sonu Kapoor
7823c23932
docs: Adds NgModule into back-ticks ( #34302 )
...
PR Close #34302
2019-12-09 11:36:35 -08:00
Matt Janssen
f98aeca146
docs(forms): fix a punctuation error ( #34278 )
...
PR Close #34278
2019-12-09 10:35:03 -08:00
Kapunahele Wong
de62d8ebdb
docs: fix migrations formatting ( #33267 )
...
PR Close #33267
2019-12-05 13:06:01 -08:00
Alan Agius
542f236dc4
docs: add documentation for server and Ivy without bundleDependencies ( #34225 )
...
PR Close #34225
2019-12-05 10:13:57 -08:00
Amadou Sall
8f102fe674
docs: remove information about which version of Firefox started supporting custom elements ( #34007 )
...
PR Close #34007
2019-12-03 16:04:54 -08:00
George Kalpakas
86d5472d91
docs(service-worker): fix paths for `ngsw-config` command to match latest CLI ( #34215 )
...
PR Close #34215
2019-12-03 10:42:07 -08:00
Judy Bogart
f84f362de3
docs: clarify differential load doc ( #34189 )
...
PR Close #34189
2019-12-03 10:37:11 -08:00
Charles Lyding
56f4e56094
docs: Ivy i18n guide updates for localize option ( #34053 )
...
PR Close #34053
2019-12-03 10:14:15 -08:00
Alan Agius
e6dbcd0f46
docs: remove redundant dashes ( #34172 )
...
PR Close #34172
2019-12-02 11:26:21 -08:00
Paul Gschwendtner
5b04abd5c0
docs: update title of v9 injectable migration guide ( #34125 )
...
The missing-injectable migration has been updated to handle a breaking change that is
unrelated to missing ´@Injectable` decorators. Though, the breaking change will be handled
as part of this migration since we did not want to create another migration (with all the boilerplate etc.)
The guide has been already updated to reflect the new pattern the migration handles, but we
should also rename the title of the guide to something that also mentions the other pattern.
Not renaming the guide URL since it is referenced in past releases and it's safer to keep the old
URL. The important thing is to change the actual rendered title.
PR Close #34125
2019-12-02 11:21:50 -08:00
Santosh Yadav
040673464c
docs: small typo in DI docs ( #34122 )
...
PR Close #34122
2019-12-02 11:20:39 -08:00
Paul Gschwendtner
3414760bdd
docs: update injectable migration guide to reflect latest schematic changes ( #33960 )
...
Since we created the migration guide for the `missing-injectable` schematic, the schematic
changed in various ways. e.g. the migration no longer migrates classes passed to `useExisting`
Additionally the migration has been expanded to handle another Ivy breaking change where
providers like `{provide: X}` will be intepreted as `{provide: X, useClass: X}`. This pattern should
be documented in the migration guide.
PR Close #33960
2019-11-26 16:37:48 -05:00
Kapunahele Wong
78c65c330f
docs: add note about strictTemplates and strictNullChecks together ( #34039 )
...
PR Close #34039
2019-11-26 16:36:51 -05:00
ajitsinghkaler
5ff98fe701
docs: removed non-supported versions from LTS ( #34005 )
...
PR Close #34005
2019-11-26 16:36:23 -05:00
Kapunahele Wong
d655093123
docs: add Animations import in Router doc ( #33740 )
...
Fixes #33665
PR Close #33740
2019-11-25 22:37:55 -05:00
Kapunahele Wong
1ab2ebc719
docs: edit EventEmitter name in styleguide ( #33923 )
...
Fixes #33890
PR Close #33923
2019-11-25 18:40:51 -05:00
Igor Minar
ed55355363
fix(core): remove deprecated and defunct wtf* apis ( #33949 )
...
These apis have been deprecated in v8, so they should stick around till v10,
but since they are defunct we are removing them early so that they don't take up payload size.
PR Close #33949
2019-11-25 18:39:18 -05:00
Charles Lyding
56f33bc266
docs: initial Ivy i18n guide updates ( #33762 )
...
PR Close #33762
2019-11-25 14:12:18 -05:00
arturovt
51a56bc4c6
docs: fix typos and highlight booleans to keep consistency ( #34013 )
...
PR Close #34013
2019-11-25 11:38:06 -05:00
Kara Erickson
a37bf9a516
docs: add examples for DI change in Ivy ( #33643 )
...
PR Close #33643
2019-11-22 13:04:24 -05:00
Alan Agius
5024e217d7
docs: update npm install dev command to `npm install --save-dev` ( #33985 )
...
See: https://docs.npmjs.com/specifying-dependencies-and-devdependencies-in-a-package-json-file
PR Close #33985
2019-11-22 12:38:17 -05:00
arturovt
2dd572b15c
docs(http): fix typo ( #33978 )
...
PR Close #33978
2019-11-22 12:36:43 -05:00
Ralf D. Müller
fd5f101bab
docs: add CSRF to XSRF section of http guide ( #32933 )
...
link to the correct section of the HttpClientGuide:
if someone searches for CSRF (and not XSRF), she will not find the right section in the HttpClient guide
added CSRF as name of XSRF attack:
in order to make it easier to find the XSRF protection, I've added a reference to the other name "CSRF". The security guide has the same reference to XSRF/CSRF.
When I searched for this feature, I had quite some problems to find it because of this missing reference
PR Close #32933
2019-11-21 16:57:12 -05:00
Alan Agius
df71aa425f
docs: clarify that `--prod` should be used to publish a library ( #33959 )
...
PR Close #33959
2019-11-21 10:45:18 -08:00
Judy Bogart
5c23ea71c4
docs: add version requirement for routing option ( #33909 )
...
PR Close #33909
2019-11-19 11:40:03 -08:00
Judy Bogart
341d5847d6
docs: add xrefs to update app and deprecations policy ( #33767 )
...
PR Close #33767
2019-11-18 09:13:16 -08:00
Pierre-Yves FARE
2e7a3e9ae6
docs: add html template for sizer component in template syntax guide ( #33776 )
...
fixes #33771
PR Close #33776
2019-11-18 09:12:45 -08:00
Pete Bacon Darwin
023c4ffdde
docs(docs-infra): prevent auto-linking of snippet in guide ( #33877 )
...
By adding the `bash` language to the code snippet it will no
longer be auto-linked, which was causing a false positive link
to be rendered.
Fixes #33859
PR Close #33877
2019-11-18 09:11:01 -08:00
Stefanie Fluin
fe4447d568
feat(docs-infra): simplify image styles and remove figure references ( #33748 )
...
Reference #33259
Removes figures elements as AIO is not typically using captions or image groups where figures would be necessary or appropriate
PR Close #33748
2019-11-14 09:27:02 -08:00
Judy Bogart
6888cb3d7a
docs: expand type-check info in update page ( #33577 )
...
PR Close #33577
2019-11-13 11:08:51 -08:00
Filipe Silva
f922903b62
docs: remove migration-ngcc guide ( #33727 )
...
PR Close #33727
2019-11-12 14:03:48 -08:00
Filipe Silva
9a840e5021
docs: add postinstall opt-in ( #33727 )
...
PR Close #33727
2019-11-12 14:03:48 -08:00
Filipe Silva
31c5e67ba6
docs: expand configuration usage ( #33229 )
...
Followup to https://github.com/angular/angular-cli/pull/15819
PR Close #33229
2019-11-12 13:55:59 -08:00
Alan Agius
ca1ff3ea11
docs: update update guide to use `ng update` instead of `npm i` ( #33726 )
...
For more context see: https://github.com/angular/angular-cli/issues/16021
Closes: https://github.com/angular/angular-cli/issues/16021
PR Close #33726
2019-11-11 09:40:08 -08:00
Kara Erickson
1d429b2165
docs: add AOT mode default to version 9 upgrade doc ( #33703 )
...
PR Close #33703
2019-11-08 15:38:40 -08:00
Németh Tamás
b97577bd94
docs: grammar fix ( #33170 )
...
PR Close #33170
2019-11-08 14:40:58 -08:00
Németh Tamás
4385cbaa65
docs: add missing word ( #33170 )
...
PR Close #33170
2019-11-08 14:40:58 -08:00
Daniele Morosinotto
98766b1d07
docs: fix migration-renderer code snippets ( #33553 )
...
Fix code snippets for migration-renderer.md found in next.angular.io
PR Close #33553
2019-11-08 12:43:20 -08:00
Alan Agius
570936e39f
docs: add ivy ssr opt-out ( #33616 )
...
PR Close #33616
2019-11-08 10:54:31 -08:00
Shibasish
43ffe7257a
docs: describe your change... ( #32914 )
...
Grammatical changes
PR Close #32914
2019-11-08 10:52:17 -08:00
Kara Erickson
c4fbd0bef7
docs: update ivy compatibility guide with latest changes ( #33675 )
...
This commit removes one of the expected Ivy changes because we have
decided to change the behavior to be more backwards-compatible.
It also adds a bug fix that is technically breaking to the list of
expected changes.
PR Close #33675
2019-11-08 10:51:52 -08:00
Santosh Yadav
0ca2a390d5
docs: app-name not rendering on browser ( #33613 )
...
Fixes #33612
PR Close #33613
2019-11-07 20:31:48 +00:00
Srichandradeep Choudarapu
1bd8fdb766
docs: add missing parenthesis ( #33559 )
...
PR Close #33559
2019-11-05 21:08:59 +00:00
Eliran Eliassy
29007e406d
docs(core): remove duplicate 'because' ( #33569 )
...
PR Close #33569
2019-11-05 21:07:17 +00:00
Geoff Bass
5bc1b6f9ac
docs: remove redundant word from template syntax guide ( #33534 )
...
PR Close #33534
2019-11-05 00:54:47 +00:00
Brian Michalski
e3189f97ff
docs: Update link to angular + bazel example app ( #33409 )
...
http://github.com/angular/angular-bazel-example has been moved to rules_nodejs monorepo.
PR Close #33409
2019-11-04 20:07:37 +00:00
TheMushr00m
66ab701606
docs: add example of a server in ruby for deployment ( #33418 )
...
PR Close #33418
2019-10-31 22:22:01 +00:00
Geoff Bass
64ac106248
docs: fix typo in Observables in Angular guide ( #33509 )
...
change `ActivateRoute` to `ActivatedRoute`
PR Close #33509
2019-10-31 22:21:00 +00:00
Kara Erickson
7355906a95
docs: add detailed example to ContentChildren change ( #33499 )
...
PR Close #33499
2019-10-31 13:54:47 -07:00
vikerman
12703d5601
docs: update to use latest 8.3.x CLI ( #33518 )
...
Change the "Updating to v9" docs to reflect that we want to use the latest 8.3.x CLI build for updating and not just 8.3.15.
PR Close #33518
2019-10-31 11:55:58 -07:00
Judy Bogart
e4ebffab8d
docs: fix format in ivy page ( #33513 )
...
PR Close #33513
2019-10-31 10:32:22 -07:00
Kapunahele Wong
c35587ba56
docs: add template type-checking guide ( #33421 )
...
PR Close #33421
2019-10-30 13:49:18 -07:00
Judy Bogart
fba72f0d4d
docs: rewrite ivy page, add template typecheck doc ( #33152 )
...
PR Close #33152
2019-10-30 10:39:26 -07:00
Andrew Kushnir
5666d11633
docs: adding a note on ICU processing to Ivy compatibility guide ( #33480 )
...
PR Close #33480
2019-10-29 17:16:30 -07:00
John Ralph Umandal
ba0c178dbb
docs: fixed cli ng update reference link ( #33320 )
...
The automated link for ng update is currently going to the
wrong page. Edit directs them to the correct page.
PR Close #33320
2019-10-29 14:03:52 -07:00
Igor Minar
afa50838a7
docs: update instructions for v9 to reflect cli update ( #33473 )
...
PR Close #33473
2019-10-29 11:43:12 -07:00
thanhpd
27745c5d8c
docs: added missing whitespaces ( #33424 )
...
PR Close #33424
2019-10-29 11:40:48 -07:00
thanhpd
2f6c97e93c
docs: remove redundant whitespaces and fix minor typos ( #33422 )
...
PR Close #33422
2019-10-29 11:39:17 -07:00
Kara Erickson
3505692f75
docs: add @next to update instructions ( #33410 )
...
PR Close #33410
2019-10-25 13:01:04 -07:00
Kara Erickson
49bfc7421a
docs: add ivy compatibility guide ( #33390 )
...
PR Close #33390
2019-10-25 09:34:01 -07:00
Kara Erickson
01455d70e3
docs: re-organize version 9 guide ( #33390 )
...
PR Close #33390
2019-10-25 09:34:01 -07:00
Andrus Diaz
2f3812a1ef
docs: add example of a server in golang for deployment ( #33092 )
...
PR Close #33092
2019-10-24 09:51:05 -07:00
Alex Rickabaugh
f1269d98dc
feat(ivy): input type coercion for template type-checking ( #33243 )
...
Often the types of an `@Input`'s field don't fully reflect the types of
assignable values. This can happen when an input has a getter/setter pair
where the getter always returns a narrow type, and the setter coerces a
wider value down to the narrow type.
For example, you could imagine an input of the form:
```typescript
@Input() get value(): string {
return this._value;
}
set value(v: {toString(): string}) {
this._value = v.toString();
}
```
Here, the getter always returns a `string`, but the setter accepts any value
that can be `toString()`'d, and coerces it to a string.
Unfortunately TypeScript does not actually support this syntax, and so
Angular users are forced to type their setters as narrowly as the getters,
even though at runtime the coercion works just fine.
To support these kinds of patterns (e.g. as used by Material), this commit
adds a compiler feature called "input coercion". When a binding is made to
the 'value' input of a directive like MatInput, the compiler will look for a
static field with the name ngAcceptInputType_value. If such a field is found
the type-checking expression for the input will use the static field's type
instead of the type for the @Input field,allowing for the expression of a
type conversion between the binding expression and the value being written
to the input's field.
To solve the case above, for example, MatInput might write:
```typescript
class MatInput {
// rest of the directive...
static ngAcceptInputType_value: {toString(): string};
}
```
FW-1475 #resolve
PR Close #33243
2019-10-24 09:49:38 -07:00
Igor Minar
c79d6ec502
docs: deprecate esm5 and fesm5 code distribution in our npm packages ( #33360 )
...
See diff for more info.
PR Close #33360
2019-10-23 16:39:36 -07:00
Stefanie Fluin
ba29e4d953
feat(docs-infra): implement figure styles ( #33259 )
...
PR#28396 originally addressed an update via issue #23983 to make images more visible with a white background (implementation of gray "lightbox").
This PR implements those styles defined in PR#28396.
PR Close #33259
2019-10-23 12:59:34 -07:00
ODAVING
1b607529a6
docs: fix spelling error in angular component ( #32971 )
...
change component class section of the docs
Closes #32948
PR Close #32971
2019-10-23 11:46:41 -07:00
Keen Yee Liau
2ecc4c7886
docs: Fix appHighlightColor typo ( #33331 )
...
In the example, there's no directive nor input that's named `appHighlightColor`.
It should be `appHighlight`, referring to the input binding.
PR Close #33331
2019-10-23 11:08:17 -07:00
Kara Erickson
ed4d96f858
docs: add migrating to version 9 guide ( #33339 )
...
This commit adds a guide to AIO navigation for
"Migrating to Version 9" and moves the schematics
section into the guide that previously lived in
the deprecations page. It also pastes a snippet
of the deprecations page in the new guide so users
don't have to filter out deprecations they've seen
before.
Note: Ivy compatibility section is coming up in a
follow-up PR.
PR Close #33339
2019-10-23 09:11:40 -07:00
Kara Erickson
383457f898
docs: clean up deprecation guide ( #33338 )
...
PR Close #33338
2019-10-23 09:11:13 -07:00
cexbrayat
c0b90c2010
docs: update localize migration doc ( #33275 )
...
The error message has been updated in #33199 to mention `ng add @angular/localize`.
This also fixes the tslint config (it needs to mention the complete side effect import).
PR Close #33275
2019-10-23 09:10:01 -07:00
Kapunahele Wong
398ff1e7e7
docs: add ModuleWithProviders deprecation ( #33266 )
...
PR Close #33266
2019-10-22 14:35:27 -07:00
Kapunahele Wong
b3d6d500be
docs: add ngcc postinstall migration doc ( #33328 )
...
PR Close #33328
2019-10-22 14:26:15 -07:00
Kapunahele Wong
1b8b04cf26
docs: add ModuleWithProviders migration doc ( #33085 )
...
PR Close #33085
2019-10-22 12:00:44 -07:00
TinyMan
ec482dadb1
docs: clarrify use of sw behind redirect ( #32915 )
...
Closes #30684
PR Close #32915
2019-10-21 16:50:52 -04:00
Carlos Ortiz García
717bace7ba
docs(core): Document TestBed.get deprecation ( #32974 )
...
It was replaced by TestBed.inject, documenting such change.
PR Close #32974
2019-10-21 15:54:42 -04:00
Diego Juliao
160547dad6
docs: update deployers table with ngx-deploy-npm ( #33269 )
...
ngx-deploy-npm is a custom deployer to publish Angular libraries to NPM
PR Close #33269
2019-10-21 11:28:18 -04:00
Alan Agius
755a80c7ec
docs: update universal docs for new ivy implementation ( #33040 )
...
PR Close #33040
2019-10-21 11:25:44 -04:00
Judy Bogart
8d44b5edac
docs: edit and organize language service doc ( #33202 )
...
PR Close #33202
2019-10-18 18:19:05 -04:00
Kapunahele Wong
32b042014d
docs: add field decorators to undecorated classes migration ( #33069 )
...
PR Close #33069
2019-10-18 16:31:10 -04:00
Kapunahele Wong
940fbbb014
docs: add localize migration doc ( #33086 )
...
PR Close #33086
2019-10-18 16:30:39 -04:00
crisbeto
1799f621b7
refactor(core): deprecate entryComponents ( #33205 )
...
With Ivy the `entryComponents` array isn't necessary anymore. These changes mark it as deprecated so that it can be removed in a future version.
PR Close #33205
2019-10-18 16:29:23 -04:00
Amadou Sall
01d3599f32
docs: clarify instructions on where to create the proxy.conf.json file ( #33244 )
...
PR Close #33244
2019-10-18 14:40:57 -04:00
Olivier Combe
9e7668f16b
fix(common): remove deprecated support for intl API ( #29250 )
...
BREAKING CHANGE:
In v5, we deprecated support for the intl API in order to improve the browser support. We are now removing these deprecated APIs for v9. See the original change here for more info on why: #18284 .
PR Close #29250
2019-10-17 20:44:17 -04:00
paulceli
3dc6490e72
docs: fix code-example displayed path ( #33228 )
...
PR Close #33228
2019-10-17 14:06:40 -04:00
Filipe Silva
ec6a9f2a02
docs: add postinstall script removal to Ivy guide ( #32999 )
...
PR Close #32999
2019-10-15 17:54:39 +00:00
Harinder Singh
0bdb71c122
docs: Update link ( #33166 )
...
Update multi-project workspace link
weblink on the angular.io website was not working, therefore, updated the multi-project workspace link.
PR Close #33166
2019-10-15 16:52:31 +00:00
Alexander von Weiss
a86893c10f
docs: use neutral domain name in i18n example ( #33146 )
...
PR Close #33146
2019-10-15 16:50:01 +00:00
Grigoriy Beziuk
a9228aabac
docs: a typo fixed in the upgrade guide ( #33054 )
...
PR Close #33054
2019-10-14 23:46:22 +00:00
Yulia Tsareva
5265b74138
docs: fix typo in guide ( #33155 )
...
PR Close #33155
2019-10-14 23:43:29 +00:00
Harinder Singh
127cec0214
docs: add command for creating angular workspace ( #32804 )
...
Improved documentation
Add command to create Angular workspace, it is required for executing `ng generate library <my-lib>` .
PR Close #32804
2019-10-14 16:32:46 +00:00
Kapunahele Wong
c88305d2eb
docs: add Injectable migration docs ( #32581 )
...
PR Close #32581
2019-10-11 15:46:12 -07:00
crisbeto
0b1daa9ebd
refactor(forms): remove ngForm element selector ( #33058 )
...
Removes the deprecated `ngForm` element selector and all of the code related to it.
BREAKING CHANGES:
* `<ngForm></ngForm>` can no longer be used as a selector. Use `<ng-form></ng-form>` instead.
* The `NgFromSelectorWarning` directive has been removed.
* `FormsModule.withConfig` has been removed. Use the `FormsModule` directly.
PR Close #33058
2019-10-11 15:43:56 -07:00
Amadou Sall
100ba0bd06
docs: align the lazy-loading guide to what's generated by the CLI ( #33070 )
...
PR Close #33070
2019-10-10 15:17:32 -07:00
Yulia Tsareva
676a95a21c
docs: fix typo in guide ( #32893 )
...
PR Close #32893
2019-10-10 13:54:58 -07:00
John Ralph Umandal
a3ef3e11c4
docs: changed 'function' word in to 'steps' ( #32211 )
...
changed word for better method's interpretation.
PR Close #32211
2019-10-10 13:54:23 -07:00
John Ralph Umandal
57d099ceea
docs: fixed a misleading sentence ( #32211 )
...
Reading this sentence, make the reader think that the second argument strictly accepts one single animate, which is not
PR Close #32211
2019-10-10 13:54:23 -07:00
crisbeto
2265cb5938
refactor(core): remove deprecated Renderer ( #33019 )
...
Removes the `Renderer` and related symbols which have been deprecated since version 4.
BREAKING CHANGES:
* `Renderer` has been removed. Use `Renderer2` instead.
* `RenderComponentType` has been removed. Use `RendererType2` instead.
* `RootRenderer` has been removed. Use `RendererFactory2` instead.
PR Close #33019
2019-10-08 09:23:00 -07:00
Danny Skoog
c507dda21a
docs: correct sentence in AoT compiler guide ( #33020 )
...
PR Close #33020
2019-10-07 13:13:57 -07:00
JiaLiPassion
53d13c3fc6
refactor: rename unpatched event flag in Zone from `BLACK_LISTED_EVENTS` to `UNPATCHED_EVENTS` ( #29617 )
...
Closes #28529
PR Close #29617
2019-10-04 08:44:58 -07:00
Showtim3
052cae6427
docs: fix typo in attribute-directives.md ( #32943 )
...
Fixes #32924
PR Close #32943
2019-10-02 14:30:50 -07:00
Judy Bogart
70429bf350
docs: add lib build note ( #32940 )
...
PR Close #32940
2019-10-02 10:59:05 -07:00
Jordan Amman
448749cafa
docs: added '>' to ng-template closing tag. ( #32939 )
...
Fixes #32931
PR Close #32939
2019-10-02 09:44:23 -07:00
Alan Agius
5d5c94d83a
feat(service-worker): remove deprecated `versionedFiles` option ( #32862 )
...
BREAKING CHANGE:
Remove deprecated option `versionedFiles` from service worker asset group configuration in `ngsw-config.json`
Before
```json
"assetGroups": [
{
"name": "test",
"resources": {
"versionedFiles": [
"/**/*.txt"
]
}
}
]
```
After
```json
"assetGroups": [
{
"name": "test",
"resources": {
"files": [
"/**/*.txt"
]
}
}
]
```
PR Close #32862
2019-10-02 09:30:59 -07:00
Kapunahele Wong
206fb82330
docs: add dynamic queries flag migration documentation ( #32582 )
...
PR Close #32582
2019-10-01 17:19:05 -07:00
Judy Bogart
088435c5eb
docs: emphasize headers for code examples ( #32938 )
...
PR Close #32938
2019-10-01 14:45:29 -07:00
Joshua Colvin
32b6548be9
docs: fix capitalization in elements docs ( #32917 ) ( #32936 )
...
PR Close #32917
PR Close #32936
2019-10-01 14:44:49 -07:00
Gérôme Grignon
b3549e6680
docs: fix typo in creating-libraries ( #32930 )
...
PR Close #32930
2019-10-01 10:59:01 -07:00
Hoel IRIS
45c893d0e1
docs(service-worker): add info about recovering from degraded Driver state ( #32682 )
...
Related to #31865
PR Close #32682
2019-09-30 14:15:35 -07:00
Judy Bogart
d5071651df
docs: add filename headers to code examples ( #32701 )
...
PR Close #32701
2019-09-30 10:28:20 -07:00
Judy Bogart
8985233804
docs: add prompts section to schematic guide ( #32728 )
...
PR Close #32728
2019-09-30 10:27:38 -07:00
Yulia Tsareva
877f9ad7b9
docs: add missing space between "Component" and "will" in guide ( #32885 )
...
Closes angular/angular#32873
PR Close #32885
2019-09-27 15:59:29 -07:00
john li
5ae48d52e6
docs: fix typo in deployment guide ( #32777 )
...
The typo causes most of the callout to not appear on the page. The issue
appears at the bottom of the "Lazy loading" section on the live site:
https://angular.io/guide/deployment#lazy-loading
PR Close #32777
2019-09-27 10:32:38 -07:00
Harinder Singh
278d634723
docs: correct spelling of HTMLTableCellElement in Template Syntax ( #32805 )
...
Spelling Correction in Docs
Corrected spelling; From `HTMLTableCellElment` to `HTMLTableCellElement`.
PR Close #32805
2019-09-27 10:03:52 -07:00
Jordan Amman
2e730287fb
docs: clarify sentence in lifecycle hooks doc ( #32860 )
...
PR Close #32860
2019-09-27 10:02:54 -07:00
Issei Horie
3a96631387
docs: removed duplicated spaces in upgrade guide ( #32813 )
...
PR Close #32813
2019-09-24 14:01:42 -07:00
Issei Horie
c093390c22
docs: fix typo in upgrade guide ( #32807 )
...
PR Close #32807
2019-09-24 14:01:18 -07:00
Aristeidis Bampakos
cd4021ba41
docs: Typo fixes in hierarchical DI guide ( #32536 )
...
Introduce minor typo fixes in the guide for hierarchical dependency injection
PR Close #32536
2019-09-17 13:37:53 -07:00
Judy Bogart
4c061271db
docs: add autoprefixer backward compatability instruction ( #32109 )
...
PR Close #32109
2019-09-16 10:48:02 -07:00
Kapunahele Wong
bd679581e2
docs: add undecorated classes migration faq ( #32478 )
...
PR Close #32478
2019-09-12 12:16:14 -07:00
Kapunahele Wong
222af38462
docs: move renderer2 deprecation guide into own file ( #32626 )
...
PR Close #32626
2019-09-12 10:42:59 -07:00
Judy Bogart
5cf597249c
docs: modify lazy-load module instructions for new cli flag ( #32588 )
...
PR Close #32588
2019-09-12 10:23:18 -07:00
Judy Bogart
a32df388f8
docs: fix doc links to current version ( #32566 )
...
PR Close #32566
2019-09-11 19:27:00 -04:00
Judy Bogart
8a911773b8
docs: add header to code examples ( #32563 )
...
PR Close #32563
2019-09-11 19:26:19 -04:00
Kapunahele Wong
25d90dabbe
docs: port accessibility app from stackblitz to aio ( #32377 )
...
Fixes #32320
PR Close #32377
2019-09-10 13:11:48 -04:00
Trevor Karjanis
5b2408f0a6
docs: fix typos in the routing and testing documentation ( #32329 )
...
PR Close #32329
2019-09-10 07:58:44 -04:00
Phaneendra
2230dfaea7
docs: describe your change... ( #32552 )
...
Properly Closed Bracket for the header
PR Close #32552
2019-09-10 06:30:05 -04:00
Carlos Ortiz García
9166baf709
refactor(core): Migrate TestBed.get to TestBed.inject ( #32382 )
...
This is cleanup/followup for PR #32200
PR Close #32382
2019-09-09 19:10:54 -04:00
Kapunahele Wong
33038f6ebe
docs: edit copy and example in hierarchical injectors guide ( #32501 )
...
Fixes #32461
PR Close #32501
2019-09-06 18:28:42 -04:00
Timar
4c3674f660
docs: expand abbreviation in providers guide ( #32400 )
...
The intro paragraph currently uses the DI abbreviation,
but it is clearer with DI written out and linked to the DI guide.
PR Close #32400
2019-09-05 18:59:55 -04:00
Potapy4
36d613dd67
docs: update default path for xi18n ( #32480 )
...
PR Close #32480
2019-09-05 13:34:18 -04:00
John Ralph Umandal
cc06153e85
docs: added note in animation keyframe offset ( #32350 )
...
Not mentioned in the docs.
Whenever offset property is used inside a keyframe's step at least once, then it must be defined to all the steps.
When read the first time, I supposed that the API automatically sets an even offset to the remaining not defined offsets, which is not
PR Close #32350
2019-09-05 13:33:26 -04:00
Alan
e213080c0b
docs: add app-shell production reference ( #32471 )
...
PR Close #32471
2019-09-04 11:34:17 -07:00
Tiep Phan
04d4fea3e8
docs: correct @ngtools/webpack url ( #32407 )
...
Fixes #32385
PR Close #32407
2019-09-03 12:00:19 -07:00
Kirk Larkin
d0b3688a23
docs: removed duplicate "compilerOptions" property ( #32449 )
...
PR Close #32449
2019-09-03 11:57:32 -07:00
Santosh Yadav
9bbe67f286
docs: add clarification regarding development in older browsers in Deployment guide ( #32210 )
...
Fixes #32199
PR Close #32210
2019-08-30 13:53:11 -04:00
Issei Horie
03cbce8c66
docs: fix typo in compiler options guide ( #32348 )
...
PR Close #32348
2019-08-29 12:35:25 -07:00
Amadou Sall
0a09fb1432
docs: fix a minor typo in the HTTP guide ( #32359 )
...
"of typed" should be "of type"
PR Close #32359
2019-08-28 09:40:09 -07:00