Ben Lesh
a95e81978b
refactor(ivy): Add newer, smaller NgOnChangesFeature ( #28187 )
...
PR Close #28187
2019-01-23 10:59:34 -08:00
Ben Lesh
5552661fd7
refactor(ivy): revert onChanges change back to a feature ( #28187 )
...
- adds fixmeIvy annotation to tests that should remain updated so we can resolve those issues in the subsequent commits
PR Close #28187
2019-01-23 10:59:33 -08:00
Judy Bogart
589dd479e2
docs: add input docs ( #27376 )
...
PR Close #27376
2019-01-22 12:19:28 -08:00
Judy Bogart
661a98aeda
docs: add api doc for ngif ( #27376 )
...
PR Close #27376
2019-01-22 12:19:28 -08:00
Judy Bogart
988243437a
docs: add method doc ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
3b9553bb17
docs: expand input descriptions ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
b6819fe9bb
docs: add inpur vars doc ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
6c3b57a968
docs: add api doc for ngfor ( #27377 )
...
PR Close #27377
2019-01-22 12:18:02 -08:00
Judy Bogart
37f8263430
docs: correct array to map ( #27379 )
...
PR Close #27379
2019-01-22 12:16:45 -08:00
Judy Bogart
a84a9ba705
docs: add input doc ( #27379 )
...
PR Close #27379
2019-01-22 12:16:45 -08:00
Judy Bogart
d73734dcb7
docs: add api doc for ng_style directive ( #27379 )
...
PR Close #27379
2019-01-22 12:16:45 -08:00
Judy Bogart
850b86749c
docs: add api doc for switch directives ( #27378 )
...
PR Close #27378
2019-01-15 10:53:03 -08:00
Misko Hevery
6a9a48b0ac
test: improve symbol-extractor test by ignoring $1 suffix ( #28098 )
...
PR Close #28098
2019-01-14 09:55:30 -08:00
Ben Lesh
8ebdb437dc
fix(ivy): ngOnChanges only runs for binding updates ( #27965 )
...
PR Close #27965
2019-01-11 14:28:35 -08:00
Alan Agius
b61dafaeac
refactor: remove redundant error in catch ( #25478 )
...
PR Close #25478
2019-01-04 15:42:19 -08:00
Judy Bogart
c4f7727408
docs: add api doc for viewport scroller ( #27381 )
...
PR Close #27381
2018-12-26 11:47:16 -08:00
Ruslan Dzhabbarov
7dab458884
docs(common): fix documentation for getLocaleCurrencyName ( #27087 )
...
PR Close #27087
2018-12-14 15:27:03 -08:00
Ingo Bürk
b39efdd9d6
fix(common): KeyValuePipe should return empty array for empty objects ( #27258 )
...
This lets KeyValuePipe return an empty array (rather than undefined)
when the input is empty.
PR Close #27258
2018-12-14 15:19:13 -08:00
Christopher Dahm
d0d351cccb
docs(common): update currencyPipe default digitsInfo values ( #27417 )
...
Change the docs to reflect the actual default values
Fixes #27414
PR Close #27417
2018-12-14 10:26:56 -08:00
cooljeffro
7fae9114c8
docs(common): Fix typo in KeyValuePipe docs ( #27580 )
...
PR Close #27580
2018-12-14 10:21:47 -08:00
Christopher Dahm
f3f2ef4a2a
docs(common): update PercentPipe default maxFractionDigits value ( #27365 )
...
Change the docs to reflect the actual default value
Fixes #27079
PR Close #27365
2018-12-03 08:22:25 -08:00
Pete Bacon Darwin
0918adf39d
docs: common with `@publicApi` tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
Pete Bacon Darwin
24521f549c
docs: convert all `@experimental` tags to `@publicApi` tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:52 -07:00
Ash Kyd
c9cfcfa728
docs: clarify CurrencyPipe display property ( #25852 )
...
Clarify how to suppress the currency/code in the CurrencyPipe by passing an empty string.
PR Close #25852
2018-10-05 15:42:57 -07:00
Alex Rickabaugh
36d6e6076e
feat(ivy): support template type check narrowing for *ngFor and *ngIf ( #26203 )
...
This commit adds an ngTemplateGuard_ngIf static method to the NgIf
directive and an ngTemplateContextGuard static method to NgFor. The
function of these two static methods is to enable type narrowing
within generated type checking code for consumers of the directives.
PR Close #26203
2018-10-04 10:11:17 -07:00
Pete Bacon Darwin
72dce34f42
docs(common): move `KeyValuePipe` example to `@usageNotes` ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
c08549ae38
docs(common): move `KeyValuePipe` example to `@usageNotes` ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
cf8ad24dcf
docs(common): remove legacy `@whatItDoes` tag ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Pete Bacon Darwin
927323f24e
docs: add missing `@ngModule` tags ( #25734 )
...
PR Close #25734
2018-09-19 16:18:24 -07:00
Judy Bogart
dd5e35ee67
docs: add ngmodule api doc ( #25618 )
...
PR Close #25618
2018-09-19 10:40:58 -07:00
Pete Bacon Darwin
15cc85c54a
style(common): fix short param names ( #23667 )
...
PR Close #23667
2018-08-03 14:09:27 -07:00
Pete Bacon Darwin
725bae1921
docs(common): fix content errors ( #23667 )
...
PR Close #23667
2018-08-03 14:09:27 -07:00
cexbrayat
270176bbe4
docs: more info on currency digits ( #24661 )
...
Adds an example of using the `currency` pipe with a currency that has no cents like CLP,
which will format the amount with no digits if `digitsInfo` is not provided:
<!-- outputs CA$14.00 -->
{{ 14 | currency:'CAD' }}
<!-- outputs CLP14 -->
{{ 14 | currency:'CLP' }}
Amends the docs, adds an example and fix an error with a current example.
PR Close #24661
2018-07-20 10:33:06 -07:00
Victor Berchet
0b4d85e9f1
fix(common): format fractional seconds ( #24844 )
...
fix a bug introduced in #24831
PR Close #24844
2018-07-11 14:32:32 -07:00
Victor Berchet
a527c695aa
fix(common): do not round factional seconds ( #24831 )
...
fixes #24384
PR Close #24831
2018-07-10 18:48:05 -07:00
Sergej
f974c48885
docs: describe rounding behaviour of 'DecimalPipe' ( #24303 )
...
PR Close #24303
2018-07-06 10:13:00 -07:00
Trotyl
ff84c5c4da
fix(common): properly update collection reference in NgForOf ( #24684 )
...
closes #24155
PR Close #24684
2018-06-29 06:43:44 -07:00
Judy Bogart
d244523ae6
docs: test api doc for pipes ( #24141 )
...
PR Close #24141
2018-06-25 09:37:30 -07:00
Rado Kirov
c95437f15d
build(bazel): Turning on strictPropertyInitialization for Angular. ( #24572 )
...
All errors for existing fields have been detected and suppressed with a
`!` assertion.
Issue/24571 is tracking proper clean up of those instances.
One-line change required in ivy/compilation.ts, because it appears that
the new syntax causes tsickle emitted node to no longer track their
original sourceFiles.
PR Close #24572
2018-06-25 07:57:13 -07:00
Pete Bacon Darwin
38a0d1fac5
docs: remove unnecessary `@linkDocs` tags ( #24000 )
...
It is cleaner and simpler to use just a straightforward link.
PR Close #24000
2018-06-13 16:47:40 -07:00
Fabian Wiles
2b49bf77af
feat(common): introduce KeyValuePipe ( #24319 )
...
PR Close #24319
2018-06-13 13:30:49 -07:00
Victor Savkin
49c5234c68
feat(router): implement scrolling restoration service ( #20030 )
...
For documentation, see `RouterModule.scrollPositionRestoration`
Fixes #13636 #10929 #7791 #6595
PR Close #20030
2018-06-08 15:30:52 -07:00
Miško Hevery
08a18b82de
refactor(common): Remove ngOnChanges from NgForOf ( #23378 )
...
`NgForOf` used to implement `OnChanges` and than use
`ngOnChanges` callback to detect when `ngForOf` binding
changed to update the differ. We now do the checking
manually which puts less pressure on the runtime to do
the bookkeeping and should result in minor perf improvement.
PR Close #23378
2018-06-04 13:24:43 -07:00
swseverance
fe3679a356
style: remove empty comments ( #23404 )
...
PR Close #23404
2018-05-10 15:48:13 -07:00
Olivier Combe
ce40e85cbb
refactor(common): update CLDR data to v33.0.0 ( #23265 )
...
PR Close #23265
2018-04-11 15:34:46 -07:00
Olivier Combe
5706810af2
fix(common): replace i18n locale undefined values by a const ( #23265 )
...
Fixes #22988
PR Close #23265
2018-04-11 15:34:46 -07:00
Pete Bacon Darwin
4b96a58c5a
docs: remove all deprecated `@stable` jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
Pete Bacon Darwin
381da1af45
build(aio): move "optional" and "default" to end of param description ( #23062 )
...
PR Close #23062
2018-04-05 09:25:15 -07:00
Pete Bacon Darwin
cdd05bd2ca
docs(common): move Pipe param docs to `transform` function ( #23062 )
...
PR Close #23062
2018-04-05 09:25:15 -07:00
Pete Bacon Darwin
079d8e57d5
docs(common): migrate `@whatItDoes` tags to the description ( #23062 )
...
We get the overview for the doc by splitting off the first
paragraph.
PR Close #23062
2018-04-05 09:25:15 -07:00